vfac | R Documentation |
This function is intended to be used on the right hand side of the formula.V
argument to
create_sampler
or generate_data
.
vfac(
factor = "local_",
prior = pr_invchisq(df = 1, scale = 1),
name = "",
debug = FALSE
)
factor |
The name of a factor variable. The name |
prior |
the prior assigned to the variance factors. Currently the prior can be inverse chi-squared
or exponential, specified by a call to |
name |
The name of the variance model component. This name is used in the output of the MCMC simulation
function |
debug |
If |
An object with precomputed quantities and functions for sampling from prior or conditional posterior distributions for this model component. 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.