Description Usage Arguments Value
View source: R/predict.batch_lm.R
Run predictions on batch_lm models
1 2 |
models |
This is a named list of bam models, probably resulting from batch_lm. |
predictargs |
This is a named list of arguments for the predict function. |
over |
The name of the column in newdata which contains the levels over which the batch_lm was originally split (and should correspond to the names of the listed models) |
newdata |
The data frame to be passed to predict.lm after splitting by over. Currently, all predictions must be run anew - i.e. we do not access $fitted. |
A vector with predictions in the order of rows of newdata.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.