Form a model matrix with structure forced to correspond to target.
1 | model_conform(object, data, target, ...)
|
object |
formula to be used with 'model.matrix' |
data |
data.frame to be used with 'model.matrix' |
target |
matrix to which the output matrix structure will be aligned, or a character vector of colnames that will be forced. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.