Code
as.matrix(mtcars) %>% add_rowindex()
Condition
Error in `add_rowindex()`:
! `x` should be a data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.