set_pair_matrix | R Documentation |
Update a matrix with values from a 1d vector using row and column positions
set_pair_matrix(m, rows, cols, vals)
m |
a matrix object |
rows |
row positions, either as indices or matches to row names |
cols |
row positions, either as indices or matches to row names |
vals |
values to insert at [rows/cols] |
a matrix with updated values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.