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.

30 rpart.dist<br />

surrogatestyle<br />

controls the selection of a best surrogate. If set to 0 (default) the program uses<br />

the total number of correct classification for a potential surrogate variable, if<br />

set to 1 it uses the percent correct, calculated over the non-missing values of<br />

the surrogate. <strong>The</strong> first option more severely penalizes covariates with a large<br />

number of missing values.<br />

maxdepth<br />

Set the maximum depth of any node of the final tree, with the root node counted<br />

as depth 0 (past 30 rpart will give nonsense results on 32-bit machines).<br />

... mop up other arguments.<br />

Value<br />

a list containing the options.<br />

See Also<br />

rpart<br />

rpart.dist<br />

Set up for ‘dist’ Method for an Rpart Model<br />

Description<br />

Set up for dist method for an rpart model.<br />

Usage<br />

rpart.dist(y, offset, parms, wt)<br />

Arguments<br />

y<br />

offset<br />

parms<br />

wt<br />

the responses.<br />

an offset, or NULL.<br />

a list of parameters, usually empty.<br />

case weights – ignored.<br />

Details<br />

rpart.dist is to be used only by the function rpart.

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

Saved successfully!

Ooh no, something went wrong!