findmax {forensim} | 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 <haned@biomserv.univ-lyon1.fr>
findmax(1:10)