predict.linadleaves | R Documentation |
linadleaves
objectPredict method for linadleaves
object
## S3 method for class 'linadleaves'
predict(
object,
newdata,
type = c("response", "probability", "all", "step"),
n.leaves = NULL,
fixed.cxr = NULL,
cxr.newdata = NULL,
cxr = FALSE,
cxrcoef = FALSE,
verbose = FALSE,
...
)
object |
|
newdata |
Data frame of predictors |
type |
Character: "response", "probability", "all", "step" |
n.leaves |
Integer: Use the first |
fixed.cxr |
(internal use) Matrix: Cases by rules to use instead of matching cases to rules using
|
cxr.newdata |
(internal use) Data frame: Use these values to match cases by rules |
cxr |
Logical: If TRUE, return list which includes cases-by-rules matrix along with predicted values |
cxrcoef |
Logical: If TRUE, return cases-by-rules * coefficients matrix along with predicted values |
verbose |
Logical: If TRUE, print messages to console |
... |
Not used |
E.D. Gennatas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.