Monthly Archives: June 2007

“relevel” factors when using them to create dummy variables

June 28, 2007
By

?relevel : The levels of a factor are re-ordered so that the level specified by ‘ref’ is first and the others are moved down. This is useful for ‘contr.treatment’ contrasts which take the first level as the reference.

Read more »

Working with ggplot, version 2

June 6, 2007
By

In my previous post on this issue, I had presented a code that made weighted boxplots and annotated them with boxplot statistics and the mean values. The problem with that code was that it printed these annotations right on the vertical axes of the boxplots. Also, a relatively minor problem was that, when the values

Read more »

Documentation and tutorial roundup

June 4, 2007
By
Documentation and tutorial roundup

I recently lost my documentation folder (oops), so I had to go online and retrieve the documentation files and tutorials that I find indispensible for working. I decided I’d save myself and everyone else the trouble by posting the list here. All of the files are available in PDF format. All R manuals Scilab documentation.

Read more »