stacked_plot: The Stacked Plot of the Stopped Negative Binomial...

Description Usage Arguments Value Examples

View source: R/snb.r

Description

The stacked plot of the probability mass function for the snb showing the contributions from N (the top barrier) and R (the right barrier).

Usage

1
stacked_plot(x, s, t)

Arguments

x

the range of the distribution (defaults to min(s,t):(t+s-1)).

s

the top barrier for the snb process.

t

the right barrier for the snb process.

Value

a plot of the probability mass function.

Examples

1
stacked_plot(x=7:17, s=7, t=11)

kaneplusplus/curtail documentation built on May 24, 2019, 2:04 a.m.