Defines functions bar

Documented in bar

#' @title Draw bar plots.
#' @description The S3 method [bar()] produces a bar plot to visually summarise the results of a simulation study analysed using [simsum()].
#' @param obj An object used to select a method.
#' @param ... Further arguments passed to or from other methods.
#' @details Coverage, bias corrected coverage, and power will be based on the \eqn{\alpha} defined in the call to `simsum`.
#' @return A [ggplot2::ggplot()] object that can be combined with additional `geom_*`, `scale_*`, `theme_*`, etc.
#' @export

bar <- function(obj, ...) {
  UseMethod("bar", obj)

Try the rsimsum package in your browser

Any scripts or data that you put into this service are public.

rsimsum documentation built on June 21, 2018, 5:04 p.m.