parDistributionCustom | R Documentation |
Produce data suitable for plotting parameter distributions
parDistributionCustom(
fit,
pars,
nameVec,
label = withoutIndex(pars[1]),
samples = 500
)
parDistributionFor(fit, pi, samples = 500)
fit |
a |
pars |
a vector of parameter names |
nameVec |
a vector of explanatory parameters names |
label |
column name for |
samples |
number of posterior samples |
pi |
a data.frame returned by |
A data.frame with the following columns:
Sample index
A name from nameVec
A single sample of the associated parameter
Other data extractor:
parInterval()
,
responseCurve()
vignette('manual', 'pcFactorStan')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.