Software and documentation for the smartpred library by Thomas Yee (yee@stat.auckland.ac.nz) and Trevor Hastie (hastie@stat.Stanford.EDU). S-PLUS 6.x and S-PLUS 2000 for Windows ====================================== We haven't set this up as a library yet, so you will just have to source() it, e.g., source("smart60.q") or source("smart2000.q"). R 1.5.x and higher ================== If you are root you can install smartpred as a global library by, e.g., R CMD INSTALL smartpred Otherwise, you have to create a private library by, e.g., R CMD INSTALL -l path/to/library smartpred For example, for a private library, type: R CMD INSTALL -l ./myRlibs smartpred This will install the smartpred library in the directory myRlibs. It will be in the subdirectory myRlibs/smartpred. Now create (or edit) a file called .Renviron in your home directory and add the line R_LIBS=/home/yee/myRlibs to it (change the path!). Then you can make use of the smartpred library by typing R library(splines) library(smartpred) For some information type library(help=smartpred) Nb. If you use bs() or ns() you should first type "library(splines)" before "library(smartpred)" This will install the smartpred library in the directory myRlibs. However, some of the documentation files will not be transfered, e.g., DummiesGuide.txt.