sfsmisc (version 1.1-8)

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.

Details

....

See Also

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

Examples

Run this code
# NOT RUN {
<!-- %% FIXME: add! -->
# }
# NOT RUN {
  ## ==>  See code in 'histBxp' (.)  and  example(histBxp) !
  ##
# }

Run the code above in your browser using DataCamp Workspace