Learn R Programming

formulize (version 0.1.0)

predict.wrapped: Predict on new data form a wrapped object

Description

Predict on new data form a wrapped object

Usage

# S3 method for wrapped
predict(object, newdata = NULL, ...)

Arguments

object

Object of class wrapped with a subclass with a valid predict method.

newdata

Data to predict on.

...

Additional arguments to pass to the subclass predict method.

Value

Predictions from subclass predict method.