mynbin: mynbin

View source: R/mynbin.R

mynbinR Documentation

mynbin

Description

mynbin

Usage

mynbin(y, r, p)

Arguments

y

y is the number of trials until the rth success is observed

r

the number of successes

p

the probability of success on a single bernoulli tria;

Value

Returns the negative Binomial probability of an event, i.e., the number of failures until the rth success

Examples

   ## Not run: mynbin(10,3,0.4)

aanahitajm/math4753 documentation built on May 3, 2022, 7:25 p.m.