Description Usage Arguments Value

Update a matrix with values from a 1d vector using row and column positions

1 | ```
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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.