powered by
Plots of discrete univariate probability distributions.
plot_dpd (sf, data=FALSE, ..., main, xlab, ylab, xlim, ylim, add=FALSE, axes=TRUE, combine=FALSE, freq, space=0, line.width, line.color, fill.color)
A suitable function object. Here, this is a discrete univariate probability distribution. Refer to the references and see also sections.
Logical, if true, include a subpanel with the data bars. Ignored, if sf is a quantile function or a conditional distribution.
Optional strings, main/axes titles.
Optional length-2 numeric vectors, giving the plot ranges.
Logical, if true, add to an existing plot.
Logical vector of length one or two, if true, plot axis ticks with labels.
Logical, if true, combine the bars.
Logical, if true, plot frequencies. Ignored, except for PMFs. Default depends on the object. Refer to the corresponding constructors.
Numeric, the space (in mm) between the bars. Ignored, if combine is true.
Optional numeric, giving the main line width. If missing, determined by global options.
Optional (R color) strings, giving the main line color and main fill color. If missing, determined by global options.
Ignored.
Refer to the vignette for an overview, references and better examples.
set.ph.options
plot.dksuv, plot.catuv
# NOT RUN { ph.data.prep () dfh <- pmfuv.dks (traffic.bins, traffic.freq, lower=0) plot (dfh) plot (dfh, TRUE) # }
Run the code above in your browser using DataLab