Get cell number(s) of a matrix from row and column numbers. Cell numbers start at 0 in the upper left corner, and increase from top to bottom, and then from left to right.

1 | ```
rcpp_cell_from_xy(x, y)
``` |

`x` |
A matrix |

`y` |
A matrix with two columns (row and column numbers) |

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.