powered by
bayesbr
The function receives all variables and their respective names, and concatenates them in a matrix.
model_matrix(object,...)
an object of the class bayesbr, containing the list returned from the bayesbr function.
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.
values,bayesbr
values
# NOT RUN { data("bodyfat",package="bayesbr") # } # NOT RUN { bbr = bayesbr(siri ~ wrist +I(age/100)|chest, data = bodyfat, iter = 100) model_matrix(bbr) model_frame(bbr) # }
Run the code above in your browser using DataLab