Learn R Programming

Hmisc (version 5.1-0)

ebpcomp: ebpcomp

Description

Computation of Coordinates of Extended Box Plots Elements

Usage

ebpcomp(x, qref = c(0.5, 0.25, 0.75), probs = c(0.05, 0.125, 0.25, 0.375))

Value

list with elements segments, lines, points, points2

Arguments

x

a numeric variable

qref

quantiles for major corners

probs

quantiles for minor corners

Author

Frank Harrell

Details

For an extended box plots computes all the elements needed for plotting it. This is typically used when adding to a ggplot2 plot.

Examples

Run this code
ebpcomp(1:1000)

Run the code above in your browser using DataLab