|
Leisch, Friedrich
(2008):
Creating R Packages: A Tutorial.
In: Brito, Paula (ed.) ,
Compstat 2008 - Proceedings in Computational Statistics. Heidelberg, Germany: Physica Verlag
|
![[img]](http://epub.ub.uni-muenchen.de/6175/2.hassmallThumbnailVersion/tr036.pdf)  Preview |
|
PDF
390Kb |
Abstract
This tutorial gives a practical introduction to creating R packages. We discuss how object oriented programming and S formulas can be used to give R code the usual look and feel, how to start a package from a collection of R functions, and how to test the code once the package has been created. As running example we use functions for standard linear regression analysis which are developed from scratch.