emphasize.rows: Emphasize rows/columns/cells

Description Usage Arguments Examples

View source: R/helpers.R

Description

Storing indexes of cells to be (strong) emphasized of a tabular data in an internal buffer that can be released and applied by pandoc.table, pander or evals later.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

Arguments

x

vector of row/columns indexes or an array like returned by which(..., arr.ind = TRUE)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
n <- data.frame(x = c(1,1,1,1,1), y = c(0,1,0,1,0))
emphasize.cols(1)
emphasize.rows(1)
pandoc.table(n)

emphasize.strong.cells(which(n == 1, arr.ind = TRUE))
pander(n)

## End(Not run)

huashan/pander documentation built on May 16, 2017, 11:59 p.m.