Check priors used in ease of use brms functions
Arguments
- priors
A named list of means for prior distributions. This takes the same input as the prior argument of
growthSS
. Alternatively, if given the output of growthSS this will preform a prior predictive check and return a plot fromgrowthPlot
of that check ignoring all other arguments. Note that all priors must be proper in that case (non-flat) and the fit is likely to be strange looking due to how thick tailed the default priors fromgrowthSS
are.- type
Either "density", the default, or a model as would be specified in
growthSS
orgrowthSim
such as "logistic", "gompertz", "monomolecular", "exponential", "linear", "power law", "double logistic", or "double gompertz". If this is a model type then n draws from the prior will be simulated as growth trendlines and densities will be plotted on margins for some distributions.- n
Numeric, if type is a model then how many draws from the prior should be simulated?
- t
Numeric, time passed to growthSim. Defaults to 25 (the growthSim default).
Value
A named list of plots showing prior distributions that growthSS
would use,
optionally with a plot of simulated growth curves using draws from those priors.