Where can I find useful R tutorials with various implementations?

丶灬走出姿态 提交于 2019-11-28 05:08:22

I'll mention a few that i think are excellent resources but that i haven't seen mentioned on SO. They are all free and freely available on the Web (links supplied).

Data Analysis Examples A collection of individual examples from the UCLA Statistics Dept. which you can browse by major category (e.g., "Count Models", "Multivariate Analysis", "Power Analysis") then download examples with complete R code under any of these rubrics (e.g., under "Count Models" are "Poisson Regression", "Negative Binomial Regression", and so on).

Verzani: SimpleR: Using R for Introductory Statistics A little over 100 pages, and just outstanding. It's easy to follow but very dense. It is a few years old, still i've only found one deprecated function in this text. This is a resource for a brand new R user; it also happens to be an excellent statistics refresher. This text probably contains 20+ examples (with R code and explanation) directed to fundamental statistics (e.g., hypothesis testing, linear regression, simple simulation, and descriptive statistics).

Statistics with R (Vincent Zoonekynd) You can read it online or print it as a pdf. Printed it's well over 1000 pages. The author obviously got a lot of the information by reading the source code for the various functions he discusses--a lot of the information here, i haven't found in any other source. This resource contains large sections on Graphics, Basic Statistics, Regression, Time Series--all w/ small examples (R code + explanation). The final three sections contain the most exemplary code--very thorough application sections on Finance (which seems to be the author's professional field), Genetics, and Image Analysis.

All the packages on CRAN are open source, so you can download all the source code from there. I recommend starting there by looking at the packages you use regularly to see how they're implemented.

Beyond that, Rosetta Code has many R examples. And you may want to follow R-Bloggers.

Book like tutorials

Book like tutorials are usually spread in the form of PDF. Many of them are available on the R-project homepage here:

http://cran.r-project.org/other-docs.html#english

(This link includes many of the texts others have mentioned)

Article like tutorials

These are usually present inside blogs. The biggest list of R-bloggers I know of exists here:

http://www.r-bloggers.com/

And many of these bloggers posts (many of which are tutorials) are listed here:

http://www.r-bloggers.com/archive/

(although inside each blog there are usually more tutorials).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!