glreg | R Documentation |
This function is intended to be used to specify the formula.gl
argument to
the gen
model component specification function.
Group-level predictors and hierarchical centering are
not used by default, and they currently cannot be used in a model component that is sampled
together with another model component in the same Gibbs block.
glreg(
formula = NULL,
remove.redundant = FALSE,
prior = NULL,
Q0 = NULL,
data = NULL,
name = ""
)
formula |
a formula specifying the group-level predictors to be used within a model
component. If no |
remove.redundant |
whether redundant columns should be removed from the design matrix.
Default is |
prior |
prior specification for the group-level effects. Currently only
normal priors with mean 0 can be specified, using function |
Q0 |
prior precision matrix for the group-level effects. The default is a
zero matrix corresponding to a noninformative improper prior.
DEPRECATED, please use argument |
data |
group-level data frame in which the group-level variables specified in
|
name |
the name of the model component. This name is used in the output of the
MCMC simulation function |
An object with precomputed quantities for sampling from prior or conditional posterior distributions for this model component. Only intended for internal use by other package functions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.