R
The statistical software preferred by pirates everywhere.
Websites
Websites
- RuleFit - exploratory data analysis
- R Code School - teach yourself the basics.
- Coursera - teach yourself R programming
- RSeek: Google for R.
- Margins and multiple figures (par,mar,mfrow etc.).
- Fitting distributions with R
- Spatial data presentation by Andy Lyons
- Downloading packages for older versions of R
Helpful code
Helpful code
Plotting the legend outside of the figure plot
par(mar=c(5.1, 4.1, 4.1, 6.1) )
plot(1:10)
legend( par()$usr[2], mean(par()$usr[3:4]), legend=c("Uniform", "Normal"), pch=c(1,2), xpd=TRUE, xjust=0, yjust=0.5)