stat_line_boxplot: stat_line_boxplot

View source: R/stat_point_boxplot.R

stat_line_boxplotR Documentation

stat_line_boxplot

Description

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

Usage

stat_line_boxplot(stat = "mean", width = 0.5, height = 0.1, color = "red")

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())

height

Numeric of length 1. Height of the line Default = .1

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.