highlight: Highlight some rows in a data frame

Description Usage Arguments Details Examples

View source: R/tools.R

Description

Highlight some rows in a data frame

Usage

1
highlight(x, sel)

Arguments

x

data frame like object

sel

logical vector of length equal to number of rows in the data frame.

Details

Uses print.colorDF() to highlight selected rows in a data frame.

Examples

1
highlight(mtcars, mtcars$cyl == 6)

january3/colorDF documentation built on Aug. 31, 2020, 2 a.m.