plot_prevalence.bayeslist: Plots of prevalence for bayeslist

View source: R/plotfun.R

plot_prevalence.bayeslistR Documentation

Plots of prevalence for bayeslist

Description

plot_prevalence.bayeslist is used to produce plots of prevalence from a bayeslist object from the main function bayeslist.

Usage

plot_prevalence.bayeslist(
  object,
  covariate_names = NULL,
  only_prev = FALSE,
  xlim = NULL,
  inverse = FALSE,
  digit = 3,
  ...
)

Arguments

object

A bayeslist object from running the main function bayeslist.

covariate_names

Names of covariates.

only_prev

Indicating whether only prevalence will be plotted. The default is FALSE.

xlim

Limits of x-axis.

inverse

Indicating whether prevalence should be calculated in the reverse order. The default is FALSE.

digit

Digit number to be displayed.

...

Additional parameters to be passed.

Value

None.


bayeslist documentation built on April 3, 2025, 11:10 p.m.