R (programming language): Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Robert Badgett
(New page: '''R''' is an open source programming language for statistical analysis and graphics. Its manual is online at http://cran.r-project.org/. A package for instructions on using R for statist...)
 
imported>Robert Badgett
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{subpages}}
'''R''' is an open source programming language for statistical analysis and graphics.
'''R''' is an open source programming language for statistical analysis and graphics.


Its manual is online at http://cran.r-project.org/. A package for instructions on using R for statistics is available<ref name="urlCRAN - Package HSAUR">{{cite web |url=http://cran.r-project.org/web/packages/HSAUR/ |title=CRAN - Package HSAUR |author= |authorlink= |coauthors= |date= |format= |work= |publisher= |pages= |language= |archiveurl= |archivedate= |quote= |accessdate=}}</ref> with a commercial book for further detail.<ref name="isbn1-4200-7933-6">{{cite book |author=Torsten Hothorn; Everitt, Brian |authorlink= |editor= |others= |title=A Handbook of Statistical Analyses Using R, Second Edition |edition= |language= |publisher=Chapman & Hall/CRC |location=Boca Raton |year=2009 |origyear= |pages= |quote= |isbn=1-4200-7933-6 |oclc= |doi= |url= |accessdate=}}</ref>
Its software and manual are online at http://cran.r-project.org/. Third party books are available for learning R.<ref name="isbn1-4200-7933-6">{{cite book |author=Torsten Hothorn; Everitt, Brian |authorlink= |editor= |others= |title=A Handbook of Statistical Analyses Using R, Second Edition |edition= |language= |publisher=Chapman & Hall/CRC |location=Boca Raton |year=2009 |origyear= |pages= |quote= |isbn=1-4200-7933-6 |oclc= |doi= |url= |accessdate=}}</ref><ref name="isbn0-387-79053-5">{{Cite book  | author = Dalgaard, Peter | title = Introductory Statistics with R (Statistics and Computing) | date =  | publisher = Springer | location =New York  | isbn = 0-387-79053-5 | pages =  }}</ref>
 
Graphical interfaces are available:
* [http://cran.r-project.org/web/packages/Rcmdr/ R Commander]
* [http://cran.r-project.org/web/packages/Deducer/ Deducer]
 
 
==Uses==
===Statistics===
An interactive package for instructions (12 pages) on using R for statistics is available<ref name="urlCRAN - Package HSAUR2">{{cite web |url=http://cran.r-project.org/web/packages/HSAUR2/ |title=CRAN - Package HSAUR, 2nd ed |author=Torsten Hothorn; Everitt, Brian |authorlink= |coauthors= |date= |format= |work= |publisher= |pages= |language= |archiveurl= |archivedate= |quote= |accessdate=}}</ref> with a commercial book for further detail (376 pages).<ref name="isbn1-4200-7933-6">{{cite book |author=Torsten Hothorn; Everitt, Brian |authorlink= |editor= |others= |title=A Handbook of Statistical Analyses Using R, Second Edition |edition= |language= |publisher=Chapman & Hall/CRC |location=Boca Raton |year=2009 |origyear= |pages= |quote= |isbn=1-4200-7933-6 |oclc= |doi= |url= |accessdate=}}</ref>
 
====Mantel-Haenszel Chi-square Test====
<ref>Noguchi  K, et al. [http://cran.r-project.org/web/packages/lawstat/ lawstat: An R package for biostatistics, public policy, and law]</ref><ref>[http://cran.r-project.org/web/packages/lawstat/ Cochran-Mantel-Haenszel Chi-Squared Test for Count Data]</ref>
 
====Simple statistical inference====
Basic tests, such as T-test, chi-square and others are described in the Chapter, "Chapter  Simple Inference", of http://cran.r-project.org/web/packages/HSAUR2/.
 
====Regression====
 
=====Non-linear=====
* [http://cran.r-project.org/web/packages/nlrwr/ Nonlinear regression with R]
* [http://cran.r-project.org/web/packages/nlme/ Linear and Nonlinear Mixed Effects Models]
* [http://cran.r-project.org/web/packages/nls2/ Non-linear regression with brute force]
* [http://cran.r-project.org/web/packages/drc/ Linear and Nonlinear Mixed Effects Models]
* [http://cran.r-project.org/web/packages/nlreg/ Higher Order Inference for Nonlinear Heteroscedastic Models]
* [http://cran.r-project.org/web/packages/nlstools/ Tools for nonlinear regression diagnostics]
 
====Diagnosis====
Relevant packages include http://cran.r-project.org/web/packages/ROCR/ and http://cran.r-project.org/web/packages/DiagnosisMed/.
 
====Meta-analysis====
* Meta-analysis of treatments
** [http://cran.r-project.org/web/packages/rmeta/ rmeta]
** [http://cran.r-project.org/web/packages/HSAUR2/ HSAUR2] interactive package with a chapter containing sample demonstrations, "[http://cran.r-project.org/web/packages/HSAUR2/vignettes/Ch_meta_analysis.pdf Meta-Analysis: Nicotine Gum and Smoking Cessation and the Effcacy of BCG Vaccine in the Treatment of Tuberculosis]" in "A Handbook of Statistical Analyses Using R".<ref name="urlCRAN - Package HSAUR2">{{cite web |url=http://cran.r-project.org/web/packages/HSAUR2/ |title=CRAN - Package HSAUR, 2nd ed |author=Torsten Hothorn; Everitt, Brian |authorlink= |coauthors= |date= |format= |work= |publisher= |pages= |language= |archiveurl= |archivedate= |quote= |accessdate=}}</ref>
** [http://cran.r-project.org/web/packages/metafor/ metafor] package with [http://cran.r-project.org/web/packages/metafor/metafor.pdf manual].<ref>Viechtbauer, W. (2010). [http://www.jstatsoft.org/v36/i03/ Conducting meta-analyses in R with the metafor package]. Journal of Statistical Software, 36(3), 1-48.</ref> Additional information is at http://www.metafor-project.org.
*Meta-analysis of diagnostic test accuracy
** hierarchical summary ROC
 
====Recursive partitioning====
* [http://cran.r-project.org/web/packages/rpart/ rpart package]
* [http://cran.r-project.org/web/packages/HSAUR2/ HSAUR2] interactive package with a chapter containing sample demonstrations, "[http://cran.r-project.org/web/packages/HSAUR2/vignettes/Ch_recursive_partitioning.pdf Recursive Partitioning: Predicting Body Fat and Glaucoma Diagnosis]" in "A Handbook of Statistical Analyses Using R".<ref name="urlCRAN - Package HSAUR2">{{cite web |url=http://cran.r-project.org/web/packages/HSAUR2/ |title=CRAN - Package HSAUR, 2nd ed |author=Torsten Hothorn; Everitt, Brian |authorlink= |coauthors= |date= |format= |work= |publisher= |pages= |language= |archiveurl= |archivedate= |quote= |accessdate=}}</ref>


==References==
==References==
<references/>
<references/>

Latest revision as of 10:50, 1 July 2012

This article is a stub and thus not approved.
Main Article
Discussion
Related Articles  [?]
Bibliography  [?]
External Links  [?]
Citable Version  [?]
 
This editable Main Article is under development and subject to a disclaimer.

R is an open source programming language for statistical analysis and graphics.

Its software and manual are online at http://cran.r-project.org/. Third party books are available for learning R.[1][2]

Graphical interfaces are available:


Uses

Statistics

An interactive package for instructions (12 pages) on using R for statistics is available[3] with a commercial book for further detail (376 pages).[1]

Mantel-Haenszel Chi-square Test

[4][5]

Simple statistical inference

Basic tests, such as T-test, chi-square and others are described in the Chapter, "Chapter Simple Inference", of http://cran.r-project.org/web/packages/HSAUR2/.

Regression

Non-linear

Diagnosis

Relevant packages include http://cran.r-project.org/web/packages/ROCR/ and http://cran.r-project.org/web/packages/DiagnosisMed/.

Meta-analysis

Recursive partitioning

References

  1. 1.0 1.1 Torsten Hothorn; Everitt, Brian (2009). A Handbook of Statistical Analyses Using R, Second Edition. Boca Raton: Chapman & Hall/CRC. ISBN 1-4200-7933-6. 
  2. Dalgaard, Peter. Introductory Statistics with R (Statistics and Computing). New York: Springer. ISBN 0-387-79053-5. 
  3. 3.0 3.1 3.2 Torsten Hothorn; Everitt, Brian. CRAN - Package HSAUR, 2nd ed.
  4. Noguchi K, et al. lawstat: An R package for biostatistics, public policy, and law
  5. Cochran-Mantel-Haenszel Chi-Squared Test for Count Data
  6. Viechtbauer, W. (2010). Conducting meta-analyses in R with the metafor package. Journal of Statistical Software, 36(3), 1-48.