powered by
Summary method for the probability calculator (discrete)
# S3 method for prob_disc summary(object, type = "values", ...)
Return value from prob_disc
prob_disc
Probabilities ("probs") or values ("values")
further arguments passed to or from other methods
See https://radiant-rstats.github.io/docs/basics/prob_calc.html for an example in Radiant
prob_disc to calculate results
plot.prob_disc to plot results
plot.prob_disc
result <- prob_disc(v = 1:6, p = c(2 / 6, 2 / 6, 1 / 12, 1 / 12, 1 / 12, 1 / 12), pub = 0.95) summary(result, type = "probs")
Run the code above in your browser using DataLab