powered by
Predicted values based on the bidimensional regressional model object.
# S3 method for lm2 predict(object, newdata, ...)
an object of class "lm2"
An optional two column data frame with independent variables. If omitted, the fitted values are used.
optional arguments
a two column data frame with predicted values for dependent variables.
lm2
# NOT RUN { lm2euc <- lm2(depV1+depV2~indepV1+indepV2, NakayaData, transformation = 'Euclidean') predict(lm2euc, NakayaData[, 3:4]) # }
Run the code above in your browser using DataLab