prob_disc {radiant.basics} | R Documentation |
Probability calculator for a discrete distribution
Description
Probability calculator for a discrete distribution
Usage
prob_disc(v, p, lb = NA, ub = NA, plb = NA, pub = NA, dec = 3)
Arguments
v |
Values |
p |
Probabilities |
lb |
Lower bound on the number of successes |
ub |
Upper bound on the number of successes |
plb |
Lower probability bound |
pub |
Upper probability bound |
dec |
Number of decimals to show |
Details
See https://radiant-rstats.github.io/docs/basics/prob_calc.html for an example in Radiant
See Also
summary.prob_disc
to summarize results
plot.prob_disc
to plot results
Examples
prob_disc(v = 1:6, p = 1 / 6, pub = 0.95)
prob_disc(v = 1:6, p = c(2 / 6, 2 / 6, 1 / 12, 1 / 12, 1 / 12, 1 / 12), pub = 0.95)
[Package radiant.basics version 1.6.6 Index]