model.bayesbr: Matrix with All Variables for 'bayesbr' Objects

Description Usage Arguments Value See Also

View source: R/model.bayesbr.R

Description

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

Usage

1
2
3
## S3 method for class 'bayesbr'
model(Y,X = NULL,W = NULL,name_y,names_x = NULL,
             names_w = NULL)

Arguments

Y

A vector containing the model response variable,

X

A matrix containing the covariates for theta of the model,

W

A matrix containing the covariates of the model for zeta,

name_y

The name passed in the call to the bayesbr function for the variable response,

names_x

The name passed in the call to the bayesbr function for the covariates for theta,

names_w

The name passed in the call to the bayesbr function for covariates for zeta.

Value

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

See Also

values,bayesbr


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