21.04.2015 Views

The mvpart Package - NexTag Supports Open Source Initiatives

The mvpart Package - NexTag Supports Open Source Initiatives

The mvpart Package - NexTag Supports Open Source Initiatives

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

34 rpart.pca<br />

numeric split point. <strong>The</strong> last column adj gives the adjusted concordance for<br />

surrogate splits. For a factor, the split column contains the row number of the<br />

csplit matrix. For a continuous variable, the sign of ncat determines whether<br />

the subset x < cutpoint or x > cutpoint is sent to the left.<br />

csplit<br />

method<br />

cptable<br />

terms<br />

call<br />

this will be present only if one of the split variables is a factor. <strong>The</strong>re is one row<br />

for each such split, and column i = -1 if this level of the factor goes to the<br />

left, +1 if it goes to the right, and 0 if that level is not present at this node of the<br />

tree. For an ordered categorical variable all levels are marked as R/L, including<br />

levels that are not present.<br />

the method used to grow the tree.<br />

the table of optimal prunings based on a complexity parameter.<br />

an object of mode expression and class term summarizing the formula.<br />

Used by various methods, but typically not of direct relevance to users.<br />

an image of the call that produced the object, but with the arguments all named<br />

and with the actual formula included as the formula argument. To re-evaluate<br />

the call, say update(tree).<br />

Optional components include the matrix of predictors (x) and the response variable<br />

(y) used to construct the rpart object.<br />

Structure<br />

<strong>The</strong> following components must be included in a legitimate rpart object. Of these, only the<br />

where component has the same length as the data used to fit the rpart object.<br />

See Also<br />

rpart.<br />

rpart.pca<br />

Principle Components Plot of a Multivariate Rpart Object<br />

Description<br />

Plots a PCA of the rpart object on the current graphics device.<br />

Usage<br />

## S3 method for class 'pca':<br />

rpart(tree, pts = TRUE, plt.allx = TRUE, speclab = TRUE,<br />

specvecs = TRUE, wgt.ave = FALSE, add.tree = TRUE,<br />

cv1 = 1, cv2 = 2, chulls = TRUE, interact = FALSE, ...)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!