Description Usage Arguments Value Note

Function to predict a vector of full length (number of observations), where predictions according to missing
explanatory values are replaced by `NA`

.

1 | ```
mypredict.lm(object, newdata)
``` |

`object` |
an object of class |

`newdata` |
matrix or data frame to be predicted according to |

Vector of predicted values.

`predict.lm`

delivers a vector of reduced length, i.e. rows where
explanatory variables are missing are omitted. The full length of the
predicted observation vector is necessary in the indirect classification
approach (`predict.inclass`

).

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.