emphasize.rows | R Documentation |
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.
emphasize.rows(x) emphasize.cols(x) emphasize.cells(x) emphasize.strong.rows(x) emphasize.strong.cols(x) emphasize.strong.cells(x) emphasize.italics.rows(x) emphasize.italics.cols(x) emphasize.italics.cells(x) emphasize.verbatim.rows(x) emphasize.verbatim.cols(x) emphasize.verbatim.cells(x)
x |
vector of row/columns indexes or an array like returned by |
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.