Description Usage Arguments Details Value
reindex
takes a matrix and reindexes cells reminescent of match()
1 | reindex(pConv, col.regex, indices)
|
pConv |
Matrix. With integer columns referenced in col.regex to be reindexed. |
col.regex |
Character. Regex matching to the column names of columns to be reindexed. |
indices |
Numeric. Numeric vector with new values. |
This is useful for performing a search with a subset of granular formula, and reindexing to some master ID index.
A matrix with referenced cells replaced by new values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.