setDefaultPriors {blatent} | R Documentation |
Sets the prior distribution parameters for all parameters not named in priorsList
Description
All parameters not named in priorsList, an input argument to
blatentEstimate
, recieve these parameters if their prior distributions
are of the same family. Used to quickly set priors for sets of parameters.
Usage
setDefaultPriors(
normalMean = 0,
normalVariance = 1,
normalCovariance = 0,
dirichletAlpha = 1
)
Arguments
normalMean |
Sets the prior distribution mean for all parameters with
normal distributions not named in priorsList. Defaults to |
normalVariance |
Sets the prior distribution variance for all parameters with
normal distributions not named in priorsList. Defaults to |
normalCovariance |
Sets the prior distribution covariance for all parameters with
multivariate normal distributions not named in priorsList. Defaults to |
dirichletAlpha |
Sets the prior distribution parameter values when variable distributions are Dirichlet. Defaults to |
Value
A list containing named values for each argument in the function.