rrLiland {fixedTimeEvents}R Documentation

Random Bernoulli trials for Liland distributed mean numbers.

Description

r successes are drawn from R trials. This is repeated n times to produce a random vector of mean Liland distributed numbers.

Usage

rrLiland(n, R, r)

Arguments

n

number of repeated samples.

R

number of Bernoulli trials.

r

number of successes per sample.

Value

Vector of mean distance between successful events.

Author(s)

Kristian Hovde Liland

References

Liland, KH & Snipen, L, FixedTimeEvents: An R package for the distribution of distances between discrete events in fixed time, SoftwareX 5 (2016).

See Also

dLiland, Liland, Liland.test, simLiland

Examples

mdist <- rrLiland(1000, 25, 7)
plot(density(mdist))

[Package fixedTimeEvents version 1.0.1 Index]