plt.density function

this plot function creates a density plot

this plot function creates a density plot

This function creates a density plot for a model object with the type attribute cace.Bayes.

plt.density(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 plot function

Returns

It returns a density 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.density(obj=out.meta.c)
  • Maintainer: Jinhui Yang
  • License: GPL (>= 2)
  • Last published: 2022-10-02

Useful links