View source: R/bidimensional.R
predict.lm2 | R Documentation |
Predicted values based on the bidimensional regressional model object.
## S3 method for class 'lm2' predict(object, newdata, ...)
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 |
a two column data frame with predicted values for dependent variables.
lm2
lm2euc <- lm2(depV1+depV2~indepV1+indepV2, NakayaData, transformation = 'Euclidean') predict(lm2euc, NakayaData[, 3:4])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.