stat_point_boxplot: stat_point_boxplot

View source: R/stat_point_boxplot.R

stat_point_boxplotR Documentation

stat_point_boxplot

Description

Draws a point in a boxplot to show where the mean, median, quartiles... are.

Usage

stat_point_boxplot(
  stat = "mean",
  width = 0.5,
  point_size = 2,
  point_color = "red",
  point_shape = 1
)

Arguments

stat

Character of length 1. One of c('mean', 'median', 'q1', 'q2', 'q3', 'q4', 'min', 'max'). Default = "mean".

width

Numeric of length 1. Passed through poistion_dodge(width=width). Default = .5 (same as in stat_summary_boxplot())

point_size

Numeric of length 1. Size of the point. Default = 2

point_color

Character of length 1. Color of the point. Default = "red".

Author(s)

amitjavilaventura

See Also

ggplot2::stat_summary()


amitjavilaventura/ggmitji documentation built on March 27, 2024, 12:06 p.m.