Learn R Programming

fixedTimeEvents (version 1.0.1)

Liland: Properties of the Liland distribution

Description

Calculates the mean and variance of the Liland distribution according to the number of trials and successes.

Usage

Liland(R, r)

Arguments

R

number of trials.

r

number of successes.

Value

Returns a named vector containing the mean and variance of the Liland distribution.

References

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

See Also

dLiland, Liland.test, simLiland

Examples

Run this code
# NOT RUN {
Liland(R = 1949, r = 162)
# }

Run the code above in your browser using DataLab