predict.pptr_regression: Predicts numeric responses from a pptr model (regression...

View source: R/pptr.R

predict.pptr_regressionR Documentation

Predicts numeric responses from a pptr model (regression mode).

Description

Predicts numeric responses from a pptr model (regression mode).

Usage

## S3 method for class 'pptr_regression'
predict(object, new_data = NULL, type = NULL, ...)

Arguments

object

A pptr_regression model.

new_data

A data frame or matrix of new observations.

type

Must be "response" (default).

...

Backward-compat positional 'new_data'.

Value

A numeric vector.

See Also

pptr, predict.pptr_classification


ppforest2 documentation built on July 21, 2026, 9:07 a.m.