powered by
Converts the x element of an ideal object to an MCMC object, as used in the coda package.
ideal
idealToMCMC(object, burnin=NULL)
an object of class ideal.
of the recorded MCMC samples, how many to discard as burnin? Default is NULL, in which case the value of burnin in the ideal object is used.
NULL
burnin
A mcmc object as used by the coda package, starting at iteration start, drawn from the x component of the ideal object.
mcmc
start
x
ideal, mcmc
# NOT RUN { data(s109) f = system.file("extdata",package="pscl","id1.rda") load(f) id1coda <- idealToMCMC(id1) summary(id1coda) # }
Run the code above in your browser using DataLab