(This article was first published on Statistical Research » R, and kindly contributed to R-bloggers)
Spearman’s Rho Rank Correlation
There are generally three types of correlation that a researcher may encounter: Pearson’s r, Kendall’s Tau, and Spearman’s Rho. They each have their own uses and applications depending on the data and what you’re trying to achieve. This example shows how Spearman’s Rho rank correlation is calculated.
To leave a comment for the author, please follow the link and comment on his blog: Statistical Research » R.
R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

Zero Inflated Models and Generalized Linear Mixed Models with R.
Zuur, Saveliev, Ieno (2012).