parDistributionCustom {pcFactorStan} | R Documentation |
Produce data suitable for plotting parameter distributions
Description
Produce data suitable for plotting parameter distributions
Usage
parDistributionCustom(
fit,
pars,
nameVec,
label = withoutIndex(pars[1]),
samples = 500
)
parDistributionFor(fit, pi, samples = 500)
Arguments
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 |
Value
A data.frame with the following columns:
- sample
Sample index
- label
A name from nameVec
- value
A single sample of the associated parameter
See Also
Other data extractor:
parInterval()
,
responseCurve()
Examples
vignette('manual', 'pcFactorStan')
[Package pcFactorStan version 1.5.4 Index]