freq.matrix | R Documentation |
Compute the first order marginal probability. In other words, given at least one permutation, calculate the proportion of them that have each item in each position
freq.matrix(perm)
perm |
a permutation or a collection of them |
A matrix with n rows and n columns with the proportion of the permutations in the input that have each item in each position
freq.matrix(c(1,3,2,4,5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.