| MCMChook {Zelig} | R Documentation |
This method gives valid methods to the resulting MCMC object so that it can be used with Zelig.
MCMChook(obj, model.call, zelig.call, seed = NULL, ..., data = NULL)
obj |
the fitted model object (in this case a
|
model.call |
the call made to the external model |
zelig.call |
the actual call to zelig itself |
seed |
a seed for the MCMC algorithm |
... |
ignored parameters |
data |
the data.frame being used to fit the statistical model |
an object useable by Zelig
This function is used internally by the ZeligBayesian package.
Olivia Lau, Kosuke Imai, Gary King and Matt Owen