Description Usage Arguments Value
View source: R/constructNewdataMatrix.R
This is an internal function, which constructs a model matrix for new covariate data, based on the formula and scaling info in an existing GlmBayesMfp object. The matrix can then be passed to prediction functions.
1 | constructNewdataMatrix(object, newdata)
|
object |
a valid |
newdata |
the new covariate data as a data.frame (with the same
covariate names as in the call to |
The (uncentered!) model matrix with the FP columns shifted and scaled as for the original data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.