model_frame: Model Matrix/Frame with All Variables for 'bayesbr' Objects

Description Usage Arguments Value See Also Examples

View source: R/model.matrix.bayesbr.R

Description

The function receives all variables and their respective names, and concatenates them in a matrix.

Usage

1
model_frame(object,...)

Arguments

object

an object of the class bayesbr, containing the list returned from the bayesbr function.

...

further arguments passed to or from other methods.

Value

A matrix or Frame containing all variables in the model and their names used as column names.

See Also

values,bayesbr

Examples

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)

bayesbr documentation built on July 17, 2021, 1:07 a.m.