model.bayesbr {bayesbr}R Documentation

Matrix with All Variables for bayesbr Objects

Description

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

Usage

## 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


[Package bayesbr version 0.0.1.0 Index]