plot.angmcmc: Summary plots for angmcmc objects

View source: R/all_diagnostics.R

plot.angmcmcR Documentation

Summary plots for angmcmc objects

Description

Summary plots for angmcmc objects

Usage

## S3 method for class 'angmcmc'
plot(
  x,
  par.name,
  comp.label,
  chain.no,
  do.paramtrace = TRUE,
  do.lpdtrace = TRUE,
  use.llik = FALSE,
  ...
)

Arguments

x

angmcmc object

par.name

vector of names of parameters for which point estimates are to be computed. If NULL, results for all parameters are provided.

comp.label

vector of component labels (positive integers, e.g., 1, 2, ...) for which point estimates are to be computed. If NULL, results for all components are provided.

chain.no

vector of chain numbers whose samples are to be be used. in the estimation. By default all chains are used.

do.paramtrace

logical. Should the trace(s) for the parameter(s) be plotted?

do.lpdtrace

logical. Should the log posterior trace be plotted?

use.llik

logical. Should the log likelihood be plotted instead? Ignored if do.lpdtrace == FALSE.

...

unused

Examples

# first fit a vmsin mixture model
# illustration only - more iterations needed for convergence
fit.vmsin.20 <- fit_vmsinmix(tim8, ncomp = 3, n.iter =  20,
                             n.chains = 1)
plot(fit.vmsin.20)

BAMBI documentation built on March 31, 2023, 11:24 p.m.

Related to plot.angmcmc in BAMBI...