powered by
"plot"(x, ..., tol = 1e-10, pch = 16, cex = 1.2, lwd = 2, col = "black", xlab = "Possible Values", ylab = "Probabilities")
fair.die <- RV(1:6, rep(1/6,6)) plot(fair.die)
Run the code above in your browser using DataLab