v2m | R Documentation |
Convert vector indices into matrix indices such that:
ij <- v2m(x) => M[x] = M[ij[, 1], ij[, 2]] for each pair of indices
v2m(x, nrow)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.