prob_disc: Probability calculator for a discrete distribution

Description Usage Arguments Details Examples

View source: R/prob_calc.R

Description

Probability calculator for a discrete distribution

Usage

1
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

Examples

1
prob_disc(v = "5 6 7 8 9 10 11", p = ".1 .2 .3 .15 .1 .1 .05", pub = 0.95)

radiant.basics documentation built on June 15, 2018, 1:05 a.m.