Summary method for the probability calculator (poisson)

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

Arguments

object

Return value from prob_pois

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_pois to calculate results

plot.prob_pois to plot results

Examples

result <- prob_pois(lambda = 1, ub = 3) summary(result, type = "values")
#> Probability calculator #> Distribution: Poisson #> Lambda : 1 #> Mean : 1 #> Variance : 1 #> Lower bound : #> Upper bound : 3 #> #> P(X = 3) = 0.061 #> P(X < 3) = 0.92 #> P(X <= 3) = 0.981 #> P(X > 3) = 0.019 #> P(X >= 3) = 0.08