predict.semforest: Predict method for semtree and semforest

View source: R/predict_methods.R

predict.semforestR Documentation

Predict method for semtree and semforest

Description

Predict method for semtree and semforest

Usage

## S3 method for class 'semforest'
predict(object, data, type = "node_id", ...)

Arguments

object

Object of class semtree or 'semforest'.

data

New test data of class data.frame. If no data is provided, attempts to extract the data from the object.

type

Type of prediction. One of ‘c(’node_id')'. See Details.

...

further arguments passed to or from other methods.

Value

Object of class matrix.

Author(s)

Caspar J. van Lissa, Andreas Brandmaier


brandmaier/semtree documentation built on April 18, 2024, 3:24 a.m.