Description Usage Arguments Value See Also Examples
View source: R/model.matrix.bayesbr.R
The function receives all variables and their respective names, and concatenates them in a matrix.
1 | model_matrix(object,...)
|
object |
an object of the class bayesbr, containing the list returned from the |
... |
further arguments passed to or from other methods. |
A matrix or Frame containing all variables in the model and their names used as column names.
1 2 3 4 5 6 7 | data("bodyfat",package="bayesbr")
bbr = bayesbr(siri ~ wrist +I(age/100)|chest, data = bodyfat,
iter = 100)
model_matrix(bbr)
model_frame(bbr)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.