predict.networktree {networktree} | R Documentation |
Predict 'networktree' objects
Description
Wraps predict.party
Usage
## S3 method for class 'networktree'
predict(object, newdata = NULL, type = c("node", "parameter"), ...)
Arguments
object |
a fitted 'networktree' |
newdata |
An optional data frame in which to look for variables with which to predict. If omitted, the fitted values are used. |
type |
"node", or "parameter". Specifies whether to predict nodes (return value is a vector) or parameters (matrix). |
... |
not used |
[Package networktree version 1.0.1 Index]