Plots a discrete/categorical cumulative distribution function.
numeric vector giving the possible values of the discrete random variable.
numeric vector giving the cumulative probabilities corresponding to x
.
logical; if FALSE
(default), the x
values are assumed to be in
ascending order.
the x and y limits of the plot.
the axis titles.
an overall title for the plot.
logical; if TRUE
add to an already existing plot, else generate a new plot.
logical; if TRUE
, draw vertical lines at steps.
logical; if TRUE
(default), draw points at the knot locations.
point character or symbol if do.points
.
default color of all points and lines.
color of points if do.points
.
symbol expansion factor if do.points
.
color of vertical lines.
line type and thickness for horizontal lines.
line type and thickness for vertical lines.
further graphical arguments (passed to plot.default()
or to segments()
).
Returns a numeric vector with the random deviates and an attribute ngen
with the required number of uniform generations.