Here you can find a very interesting post depicting the R strengths in 'real-time statistics'.
I'd like to use the occasion to thank David Smith for hosting the best, imho, blog on R!
Follow Him on Twitter: @revodavid .
"A big computer, a complex algorithm and a long time does not equal science." -- Robert Gentleman
venerdì 19 giugno 2009
lunedì 15 giugno 2009
Replacing 0 with NA - an evergreen from the list
This thread from the R-help list describe an evergreen tip that, at least once, is proved useful in R practice.
sabato 6 giugno 2009
Two plot with a common legend - base graphics
If you need to share a common legend between two graphs using the ggplot2 package/paradigm take a look at this post from the Learning R blog.
The code below solves the same task using the R base graphics.
The code below solves the same task using the R base graphics.
png( "2plot1legend.png", width = 480, height = 680)
par(mfrow = c(2, 1), oma = c(0, 0, 0, 2))
plot(hp~mpg, data=mtcars, col=cyl,pch=19)
plot(disp~wt, data=mtcars, col=cyl,pch=19)
par(xpd=NA)
#legend(locator(1), legend=as.numeric(levels(factor(mtcars$cyl))), pch=19, col= as.numeric(levels(factor(mtcars$cyl))) )
legend(x=5.6, y=690, legend=as.numeric(levels(factor(mtcars$cyl))), pch=19, col= as.numeric(levels(factor(mtcars$cyl))) )
dev.off() domenica 31 maggio 2009
Nice Interview
venerdì 29 maggio 2009
lunedì 11 maggio 2009
vim plugin for R
For the vim/R-addicted a must to have:
http://www.vim.org/scripts/script.php?script_id=2628
http://www.vim.org/scripts/script.php?script_id=2628
venerdì 8 maggio 2009
Searching through mailing list archives
Romain Francois on his blog posted a very useful function to search through the R mailing list archives. Take a look at it here. Take also a look at the tm package introduced in R News, 8(2):19–22, Oct. 2008 with an example dealing with analysis of the R-help mailing list.
Iscriviti a:
Commenti (Atom)
