plt.acf: this plot function creates an acf plot

View source: R/plt.cacebayes.R

plt.acfR Documentation

this plot function creates an acf plot

Description

This function creates an acf (Autocorrelation Function) plot for a model object with the type attribute cace.Bayes.

Usage

plt.acf(obj, param = c("CACE"), trialnumber = 1, ...)

Arguments

obj

a model object, returned by cace.meta.c, cace.meta.ic, or cace.study

param

list of parameters to plot

trialnumber

indicator for which trial number of the mcmc samples to use. The default is 1

...

optional parameters to pass into the acf function from the stats library.

Value

It returns an acf plot in an R plot window.

Examples


out.meta.c <- cace.meta.c(data = epidural_c, conv.diag = TRUE, 
mcmc.samples = TRUE, study.specific = TRUE)
plt.acf(obj=out.meta.c)


BayesCACE documentation built on Oct. 2, 2022, 5:08 p.m.

Related to plt.acf in BayesCACE...