highlight | R Documentation |
Highlight some rows in a data frame
highlight(x, sel)
x |
data frame like object |
sel |
logical vector of length equal to number of rows in the data frame. |
Uses print.colorDF()
to highlight selected rows in a data frame.
highlight(mtcars, mtcars$cyl == 6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.