predict.lm2 {BiDimRegression}R Documentation

Predict method for Bidimensional Regression Model Fits

Description

Predicted values based on the bidimensional regressional model object.

Usage

## S3 method for class 'lm2'
predict(object, newdata, ...)

Arguments

object

an object of class "lm2"

newdata

An optional two column data frame with independent variables. If omitted, the fitted values are used.

...

optional arguments

Value

a two column data frame with predicted values for dependent variables.

See Also

lm2

Examples

lm2euc <- lm2(depV1+depV2~indepV1+indepV2, NakayaData, transformation = 'Euclidean')
predict(lm2euc, NakayaData[, 3:4])

[Package BiDimRegression version 2.0.0 Index]