| findmax | R Documentation |
The findmax function finds the maximum of a vector and its position.
findmax(vec)
vec |
a numeric vector |
findmax finds the maximum value of a vector and its position.
A matrix of two columns:
max the position of the maximum in vec
maxval the maximum
findmax is an auxiliary function for the dataL function,
used to compute the
likelihood of the observed alleles in a mixed DNA stain given the number of contributors.
Hinda Haned <hinda@owlsandarrows.nl>
findmax(1:10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.