Learn R Programming

sfsmisc (version 1.1-19)

p.hboxp: Add a Horizontal Boxplot to the Current Plot

Description

Add a horizontal boxplot to the current plot. This is mainly an auxiliary function for histBxp, since boxplot(*, horizontal = TRUE, add = TRUE) is usually much preferable to this.

Usage

p.hboxp(x, y.lo, y.hi, boxcol = 3,
        medcol = 2, medlwd = 5, whisklty = 2, staplelty = 1)

Arguments

x

univariate data set.

y.lo, y.hi

minimal and maximal user coordinates or y.lo = c(ylo,hyi).

boxcol, medcol

color of the box and the median line.

medlwd

line width of median line.

whisklty, staplelty

line types of the whisker and the staple, the latter being used for the outmost non-outliers.

Author

Martin Maechler building on code from Markus and Christian Keller.

Details

....

See Also

boxplot(**, horizontal = TRUE, add= TRUE).

Examples

Run this code

  ## ==>  See code in 'histBxp' (.)  and  example(histBxp) !
  ##

Run the code above in your browser using DataLab