pcStan

0th

Percentile

Fit a pairwise comparison Stan model

Uses findModel to find the appropriate model and then invokes sampling.

Usage
pcStan(model, data, ...)
Arguments
model

the name of a model

data

a data list prepared for processing by Stan

...

Additional options passed to stan. The usual choices are iter for the number of iterations and chains for the number of chains.

Value

A stanfit object.

An object of S4 class stanfit.

See Also

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

Aliases
  • pcStan
Examples
# NOT RUN {
dl <- prepData(phyActFlowPropensity[,c(1,2,3)])
dl$varCorrection <- 2.0
# }
# NOT RUN {
pcStan('unidim_adapt', data=dl)
# }
# NOT RUN {
  # takes more than 5 seconds
# }
Documentation reproduced from package pcFactorStan, version 0.11, License: GPL (>= 3)

Community examples

Looks like there are no examples yet.