Description Usage Arguments Value Author(s)
numberReplicates numbers instances of each non-unique value in the order found numberReplicates
1 | numberReplicates(x, number.NAs = FALSE)
|
x |
a vector that includes non-unique elements |
number.NAs |
logical; if TRUE, missing values will be numbered; otherwise, return an NA for each missing value |
returns a numeric vector where replicates of each unique value in x are numbered from 1 to the number of replicates found in the order in which they are found in x. The replicate numbers returned correspond to the elements of x as it was passed in.
M.W.Rowe, mwr.stats@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.