Learn R Programming

rbc (version 0.1.1)

predict.RegressionByComposition: Compute predicted values from a regression by composition

Description

Compute predicted values from a regression by composition

Usage

# S3 method for RegressionByComposition
predict(object, newdata, ...)

Arguments

object

a RegressionByComposition object; usually the result of a call to rbc()

newdata

data.frame containing new data

...

further arguments passed to the R6 method $fitted() associated with the model's CompositeFamily