Summary method for the probability calculator (binomial)

# S3 method for prob_binom
summary(object, type = "values", ...)

Arguments

object

Return value from prob_binom

type

Probabilities ("probs") or values ("values")

...

further arguments passed to or from other methods

Details

See https://radiant-rstats.github.io/docs/basics/prob_calc.html for an example in Radiant

See also

prob_binom to calculate results

plot.prob_binom to plot results

Examples

result <- prob_binom(n = 10, p = 0.3, ub = 3) summary(result, type = "values")
#> Probability calculator #> Distribution: Binomial #> n : 10 #> p : 0.3 #> Mean : 3 #> St. dev : 1.449 #> Lower bound : #> Upper bound : 3 #> #> P(X = 3) = 0.267 #> P(X < 3) = 0.383 #> P(X <= 3) = 0.65 #> P(X > 3) = 0.35 #> P(X >= 3) = 0.617