Learn R Programming

sfsmisc (version 0.9-4)

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 hist.bxp, since boxplot(*, horizontal = TRUE, add = TRUE) is usually much preferable to this.

Usage

p.hboxp(x, y.lo, y.hi, boxcol = 3,
        medcol = 0, 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.

Details

....

See Also

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

Examples

Run this code
## ==>  See code in 'hist.bxp' (.)
  ##

Run the code above in your browser using DataLab