Description Usage Arguments Details Value Examples
View source: R/moments.matching.R
moments.match
returns some representative moments from the distribution.
1 | moments.matching(size, trials = 1, prob = 0, include.sd = FALSE)
|
size |
The size parameter for the generalised matching distribution (number of objects to match) |
trials |
The trials parameter for the generalised matching distribution (number of times the matching game is repeated) |
prob |
The probability parameter for the generalised matching distribution (probability of known match) |
include.sd |
Logical value; if |
This function computes some representative moments from the generalised matching distribution. Further details on the distribution can be found in the following paper:
O'Neill, B. (2021) A generalised matching distribution for the problem of coincidences.
If all inputs are correctly specified (i.e., parameters are in allowable range) then the output will be a data frame of moments
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.