powered by
Highlight some rows in a data frame
highlight(x, sel)
data frame like object
logical vector of length equal to number of rows in the data frame.
Uses print.colorDF() to highlight selected rows in a data frame.
print.colorDF()
highlight(mtcars, mtcars$cyl == 6)
Run the code above in your browser using DataLab