View source: R/lcmcr.R View source: R/diagnostics.R
MCMCtrace | R Documentation |
Return MCMC traces for the "n0", "prob_zero" and "k_star" parameters of LCMCR objects. For each of these parameters, a matrix is returned where each row represents an iteration and each column a chain.
Run MCMC and return traces for the "n0", "prob_zero" and "k_star" parameters of LCMCR objects. For each of these parameters, a matrix is returned where each row represents an iteration and each column a chain.
MCMCtraces(fit, burnin = 0, nSamples = 100, thinning = 1000, mc.cores=detectCores()) MCMCtraces(fit, burnin = 0, nSamples = 100, thinning = 1000, mc.cores=detectCores())
fit |
object of class "lcmcr". |
burnin |
number of burn-in iterations. |
nSamples |
number of samples to be returned. |
thinning |
number of iterations between each sample. |
mc.cores |
number of cores to use for computation. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.