A suitable function object. Here, this is a discrete univariate probability distribution. Refer to the references and see also sections.
data
Logical, if true, include a subpanel with the data bars. Ignored, if sf is a quantile function or a conditional distribution.
main, xlab, ylab
Optional strings, main/axes titles.
xlim, ylim
Optional length-2 numeric vectors, giving the plot ranges.
add
Logical, if true, add to an existing plot.
axes
Logical vector of length one or two, if true, plot axis ticks with labels.
combine
Logical, if true, combine the bars.
freq
Logical, if true, plot frequencies.
Currently, ignored in quantile functions.
n
An integer, representing the sample size, and is ignored except for PMFs/CDFs with freq set to TRUE.
(If missing, it defaults to the number of observations used, or the sum of their frequencies).
space
Numeric, the space (in mm) between the bars. Ignored, if combine is true.
line.width
Optional numeric, giving the main line width. If missing, determined by global options.
line.color, fill.color
Optional (R color) strings, giving the main line color and main fill color. If missing, determined by global options.
…
Ignored.
References
Refer to the vignette for an overview, references and better examples.