predict-ConstrainedLinReg-method: Compute predictions from constraint estimation model

Description Usage Arguments Value

Description

Computes prediction from model of class ConstrainedLinReg and a data.frame.

Usage

1
2
## S4 method for signature 'ConstrainedLinReg'
predict(object, newdata)

Arguments

object

Model of class ConstrainedLinReg

newdata

data.frame containing all variables that appear in the model formula

Value

Numeric vector of predictions. For observations with missing values on the explanatory variables, a prediction of NA is returned.


BMSC documentation built on Aug. 2, 2019, 5:05 p.m.