predict.networktree: Predict 'networktree' objects

View source: R/networktree.R

predict.networktreeR 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


paytonjjones/networktree documentation built on Sept. 14, 2022, 8:01 a.m.