Articles by Kay Cichini

Quick Tip: Replace Values in Dataframe on Condition with Random Numbers

May 1, 2012 | Kay Cichini

This one took me some time - though, in fact it is plain simple:__ options(scipen=999)__ (my_df X1 X2 X3 X4 X5 X6 X7 X8 X9 X101 0 0 1 0 1 1 1 1 0 12 0 0 1 1 1 0 0 0 0 03 0 1 1 0 0 1 1 0 0 14 1 1 0 0 0 0 0 0 0 05 0 0 1 1 1 0 0 1 1 16 0 0 1 1 0 0 1 1 0 17 0 0 1 1 1 0 1 1 1 18 1 1 1 0 0 0 0 1 1 09 0 0 0 0 1 0 1 0 1 010 1 1 1 1 1 0 1 1 0 1__ my_df[my_df == 0] __ my_df X1 X2 X3 X4 X5 X6 X7 X81 0.000268 0.000926 1.000000 2.00e-05 1.000000 1.00e+00 1.00e+00 1.00e+002 0.000531 0.000882 1.000000 1.00e+00 1.000000 4.66e-04 3.96e-04 6.70e-043 0.000785 1.000000 1.000000 5.03... [Read more...]

R-Bloggers’ Web-Presence

April 6, 2012 | Kay Cichini

We love them, we hate them: RANKINGS!Rankings are an inevitable tool to keep the human rat race going. In this regard I'll pick up my last two posts (HERE & HERE) and have some fun with it by using it to analyse R-Bloggers' web presence. I will use... [Read more...]

Apprentice Piece with Lattice Graphs

February 28, 2012 | Kay Cichini

Lattice graphs can be quite tedious. I don't use them too often and  when I need them I usually have to dig the archives for the parameter-details.The here presented example may serve as a welcome template for the usage of panel functions, panel o...
[Read more...]

Blog Statistics with StatCounter & R

December 19, 2011 | Kay Cichini

If you're interested in analysing your blog's statistics this can easily be done with a web-service like StatCounter (free, only registration needed, quite extensive service) and with R.After implementing the StatCounter script in the html code of a we...
[Read more...]
1 2 3 4 5 6

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)