Three different simulations are provided for the Liland distribution. These include sampling repeatedly from a given Liland distribution, sampling from the Bernoulli distribution and summarizing, and sampling random mean Liland numbers.
1 2 3
number of samples.
number of trials or denominator of Bernoulli probability.
number of successes or numerator of Bernoulli probablity.
simLiland returns a vector of simulated Liland probabilities.
simLiland2 returns a list of sampled counts (
summary of counts (
counts) and order of counts (
simLilandMu returns a vector of simulated mean Liland numbers.
Kristian Hovde Liland
Liland, KH & Snipen, L, FixedTimeEvents: An R package for the distribution of distances between discrete events in fixed time, SoftwareX, in press.
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.