Learn R Programming

flatness (version 0.1.4)

boxplot.rkhist: Methods for function boxplot of an S3 object of class rkhist

Description

For each rank in an rkhist object, draws a boxplot of the counts for all ensembles. A line at the count value for a perfectly flat rank histogram is also drawn.

Usage

# S3 method for rkhist
boxplot(x, mini = min(0, min(x)), what = "counts", ...)

Arguments

x

an rkhist S3 object containing the rank histograms whose boxplot must be drawn. See function flatness::rkhist.

mini

a numeric. The minimum value in the ylim argument used to plot. Relevant only when plotting counts, ignored otherwise.

what

a character string taking its value in c("counts", "percents", "proportions"). What must be printed.

...

further arguments passed to function graphics::boxplot.matrix

Value

a list as in graphics::boxplot.