Description Usage Arguments Value
Finds mapping from indices so that they are mapped to continuous range where each index has some instances. E.g., if s==c(1,3,4) we obtain mapping p <- c(1,NA,2,3), i.e., p[s]==1:3.
1 |
s |
List of indices (positive integers) |
Mapping as described above.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.