Skip to contents

Standard summary layers for PaperPlotR comparison plots

Usage

layer_summary_paper(
  summary_type = c("mean_se", "median_iqr"),
  position = ggplot2::position_identity(),
  errorbar_width = 0.14,
  point_size = 2.2,
  point_shape = 23,
  line_width = 0.35,
  colour = "#1F1F1F",
  fill = "white"
)

Arguments

summary_type

Summary style, either "mean_se" or "median_iqr".

position

Position adjustment for grouped summaries.

errorbar_width

Error bar width.

point_size

Summary point size.

point_shape

Summary point shape.

line_width

Error bar line width.

colour

Outline colour.

fill

Fill colour for summary points.

Value

A list of ggplot layers.