proFreq | R Documentation |
The function computes profile frequencies, by counting the number of times a profile appears in the population.
proFreq(profiles, population)
profiles |
an object of S3 class |
population |
a |
An object of class wprof
with the same profiles of the argument but with different frequencies.
Alberto Arcagni
popelem
vl <- c(2, 3, 2)
prf <- var2prof(varlen = vl)
pop <- matrix(c(2, 1, 1, 1, 2, 1, 2, 3, 1), 3, 3)
rownames(pop) <- LETTERS[1:3]
proFreq(profiles = prf, population = pop)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.