plot.hmm_mcmc_gamma_poisson {oHMMed} | R Documentation |
Plot Diagnostics for hmm_mcmc_gamma_poisson
Objects
Description
This function creates a variety of diagnostic plots that can be useful when conducting Markov Chain Monte Carlo (MCMC) simulation of a gamma-poisson hidden Markov model (HMM). These plots will help to assess convergence, fit, and performance of the MCMC simulation
Usage
## S3 method for class 'hmm_mcmc_gamma_poisson'
plot(
x,
simulation = FALSE,
true_betas = NULL,
true_alpha = NULL,
true_mat_T = NULL,
true_states = NULL,
show_titles = TRUE,
log_statesplot = FALSE,
...
)
Arguments
x |
(hmm_mcmc_gamma_poisson) HMM MCMC gamma-poisson object |
simulation |
(logical); default is |
true_betas |
(numeric) true betas. To be used if |
true_alpha |
(numeric) true alpha. To be used if |
true_mat_T |
(matrix) |
true_states |
(integer) |
show_titles |
(logical) if |
log_statesplot |
(logical) if |
... |
not used |
Value
Several diagnostic plots that can be used to evaluate the MCMC simulation of the gamma-poisson HMM
Examples
plot(example_hmm_mcmc_gamma_poisson)