boxPlot: Create a box plot visualisation from a <summarised_result>...

View source: R/plot.R

boxPlotR Documentation

Create a box plot visualisation from a ⁠<summarised_result>⁠ object

Description

[Experimental]

Usage

boxPlot(
  result,
  x = NULL,
  lower = "q25",
  middle = "median",
  upper = "q75",
  ymin = "min",
  ymax = "max",
  facet = NULL,
  colour = NULL
)

Arguments

result

A ⁠<summarised_result>⁠ object.

x

Columns to use as x axes.

lower

Estimate name for the lower quantile of the box.

middle

Estimate name for the middle line of the box.

upper

Estimate name for the upper quantile of the box.

ymin

Estimate name for the lower limit of the bars.

ymax

Estimate name for the upper limit of the bars.

facet

Variables to facet by, a formula can be provided to specify which variables should be used as rows and which ones as columns.

colour

Columns to use to determine the colors.

Value

A ggplot2 object.


visOmopResults documentation built on Sept. 24, 2024, 1:08 a.m.