zinbinom: Zero-inflated Negative Binomial Distributions.

Description Usage Arguments Value Examples

Description

Zero-inflated Negative Binomial Distributions.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
dzinbinom(x, size, prob, zeroprob, nbmean)

pzinbinom(q, size, prob, zeroprob, nbmean)

qzinbinom(p, size, prob, zeroprob, nbmean)

rzinbinom(n, size, prob, zeroprob, nbmean)

rzinbinom_constrained(n, size, prob, zeroprob, nbmean, min = 0, max = Inf)

pzinbinom(q, size, prob, zeroprob, nbmean)

qzinbinom(p, size, prob, zeroprob, nbmean)

rzinbinom(n, size, prob, zeroprob, nbmean)

rzinbinom_constrained(n, size, prob, zeroprob, nbmean, min = 0, max = Inf)

Arguments

x

x

size

size

prob

prob

zeroprob

zero prob

nbmean

nbmean

q

q

p

p

n

n

min

min

max

max

Value

zero-inflated Negative Binomial Distributions.

Examples

1
2
3
4
5
6
7
## Not run: 
 data$Catch <- rzinbinom(100,
size = 1.1, zeroprob = 0.3,
nbmean = 0.3 * Data$SurveyArea
)

## End(Not run)

aquaMetrics/fcs2 documentation built on Aug. 21, 2021, 12:55 p.m.