powered by
S4 class for a regression model that inherits from '>Model.
Helper function (constructor) for Mlr class
Mlr
# S4 method for Mlr sigma2(x)# S4 method for Mlr sigma2(x) <- value# S4 method for Mlr a0(x)# S4 method for Mlr a0(x) <- value# S4 method for Mlr b0(x)# S4 method for Mlr b0(x) <- valueMlr(a0 = 0.001, b0 = 0.001, sigma2 = NaN, ...)
# S4 method for Mlr sigma2(x) <- value
# S4 method for Mlr a0(x)
# S4 method for Mlr a0(x) <- value
# S4 method for Mlr b0(x)
# S4 method for Mlr b0(x) <- value
Mlr(a0 = 0.001, b0 = 0.001, sigma2 = NaN, ...)
An Model object.
Model
A value to assign to a slot for x
x
A prior shape hyperparameter for sigma2.
A prior rate hyperparameter for sigma2.
A nchain x 1 numeric vector of draws of the residual variance.
additional arguments to be passed to the low level regression fitting functions (see below).
An '>Mlr object.
a0
b0
sigma2
# NOT RUN { m1 <- Mlr(ndocs = 1) print(m1) # }
Run the code above in your browser using DataLab