predict.lm2: Predict method for Bidimensional Regression Model Fits

Description Usage Arguments Value See Also Examples

View source: R/bidimensional.R

Description

Predicted values based on the bidimensional regressional model object.

Usage

1
2
## 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

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

alexander-pastukhov/bidim-regression documentation built on Feb. 20, 2022, 3:59 a.m.