Draw the CDF for a discrete random variable
plot_discrete_cdf(x, fx, col = "blue", lwd = 3, ...)
vector with the values of the random variable \(X\).
vector with the probabilities of \(X\).
color for the line.
line width.
further arguments and graphical parameters.
A plot with the cumulative distribution function.