This function gets coordinates (row and column numbers) of the matrix cells.

1 | ```
rcpp_xy_from_matrix(x, cell = NULL)
``` |

`x` |
A matrix |

`cell` |
A vector of cell number. If NULL, the coordinates will be calculated for the whole matrix |

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.