MCMChook: Hook to Clean-up MCMC Objects
Description
This method gives valid methods to the resulting MCMC
object so that it can be used with Zelig.Usage
MCMChook(obj, model.call, zelig.call, seed = NULL, ..., data = NULL)
Arguments
obj
the fitted model object (in this case a
mcmc
object.
model.call
the call made to the external model
zelig.call
the actual call to zelig itself
seed
a seed for the MCMC algorithm
data
the data.frame being used to fit the statistical model
Value
- an object useable by Zelig