rpart.permutation.clientFunc {rpart.permutation} | R Documentation |
This internal function is executed on MPI client nodes and executes the rpart calls needed to generate permutation replicates.
rpart.permutation.clientFunc(dataset, responseidx, model, formula, nperms)
dataset |
The dataset on which the rpart models will be built. |
responseidx |
The index in dataset of the response variable. |
model |
The original rpart model. |
formula |
The formula used to create model . |
nperms |
Number of permutations to execute. |
A list with the following elements:
R |
Integer vector such that the ith element is the number of replicates having a better relative error than the original model for the i-split subtree. |
X |
As above, but using cross-validation error instead of relative error. |
nseen |
Integer vector such that the ith element is the total number of replicates reporting error values for the i-split subtree |
Daniel S. Myers