| pcStan | R Documentation |
Uses findModel to find the appropriate
model and then invokes sampling.
pcStan(model, data, ...)
model |
the name of a model |
data |
a data list prepared for processing by Stan |
... |
Additional options passed to |
A stanfit object.
An object of S4 class stanfit.
See sampling, for which this function is
a wrapper, for additional options. See prepData to
create a suitable data list. See
print.stanfit for ways of getting tables
summarizing parameter posteriors.
calibrateItems, outlierTable
dl <- prepData(phyActFlowPropensity[,c(1,2,3)])
dl$varCorrection <- 5.0
pcStan('unidim_adapt', data=dl) # takes more than 5 seconds
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.