This function builds a classification tree based on raw or adjusted p-values using the results of a regression model.
Arguments
- res
An object of class
pima, as returned bypima(). Other objects (lists of models,pima.multiobjects, specification tables) are not supported.- p.values
A char string indicating which type of p-values to use. Options are
"raw"or"adjusted"(default). When"raw", the function uses the p-values from thesummary_table.- method
used in
rpart::rpart(): ifmethod="class"it will classify significant p-values at levelalpha- alpha
used only when
method="class"- control
control options passed to
rpart::rpart.control(). IfNULL,rpart.control(minsplit = 3)is used.- ...
additional arguments passed to
rpart::rpart().
See also
Other PIMA inference:
pima(),
pima-method,
pima_flipscores()