R/pattern.R

Defines functions pattern

Documented in pattern

#' @title Draw pattern plots.
#' @description The S3 method [pattern()] produces a pattern plot to visualise estimates against standard errors for different methods.
#' @param obj An object used to select a method.
#' @param ... Further arguments passed to or from other methods.
#' @details `pattern()` requires `simsum` and `multisimsum` objects top be fit with the `x = TRUE` option.
#' @return A [ggplot2::ggplot()] object that can be combined with additional `geom_*`, `scale_*`, `theme_*`, etc.
#' @export

pattern <- function(obj, ...) {
  UseMethod("pattern", 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.