Wraps predict.party

# S3 method for 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