DATA MINING
Desktop Survival Guide by Graham Williams |
|||||
Information about a package can be obtained through the library function, using the help option. The information includes the basic meta-data about the package (including its name, version, author, and dependencies).
> library(help=rpart) Information on package "rpart" Description: Package: rpart Priority: recommended Version: 3.1-23 Date: March 2002 version of rpart, R version 2005-04-15 Author: Terry M Therneau and Beth Atkinson <[email protected]>. R port by Brian Ripley <[email protected]>. Maintainer: Brian Ripley <[email protected]> Description: Recursive partitioning and regression trees Title: Recursive Partitioning Depends: R (>= 2.0.0) Suggests: survival License: use under GPL2, or see file LICENCE LazyData: yes URL: S-PLUS 6.x original at http://www.mayo.edu/hsr/Sfunc.html Packaged: Tue Apr 19 11:21:21 2005; ripley Built: R 2.1.0; i386-pc-linux-gnu; 2005-04-20 03:10:16; unix Index: car.test.frame Automobile Data from 'Consumer Reports' 1990 cu.summary Automobile Data from 'Consumer Reports' 1990 kyphosis Data on Children who have had Corrective Spinal Surgery [...] |
The package help also includes a list of what the package
contains. Each item here will generally have further help available
through the help function:
> help(car.test.frame) car.test.frame package:rpart R Documentation Automobile Data from 'Consumer Reports' 1990 Description: The 'car.test.frame' data frame has 60 rows and 8 columns, giving data on makes of cars taken from the April, 1990 issue of Consumer Reports. This is part of a larger dataset, some columns of which are given in 'cu.summary'. [...] |