File: emphasize.rows.Rd

package info (click to toggle)
r-cran-pander 0.6.3%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,804 kB
  • sloc: javascript: 301; cpp: 145; lisp: 94; makefile: 21
file content (58 lines) | stat: -rw-r--r-- 1,345 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/helpers.R
\name{emphasize.rows}
\alias{emphasize.rows}
\alias{emphasize.cols}
\alias{emphasize.cells}
\alias{emphasize.strong.rows}
\alias{emphasize.strong.cols}
\alias{emphasize.strong.cells}
\alias{emphasize.italics.rows}
\alias{emphasize.italics.cols}
\alias{emphasize.italics.cells}
\alias{emphasize.verbatim.rows}
\alias{emphasize.verbatim.cols}
\alias{emphasize.verbatim.cells}
\title{Emphasize rows/columns/cells}
\usage{
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)
}
\arguments{
\item{x}{vector of row/columns indexes or an array like returned by \code{which(..., arr.ind = TRUE)}}
}
\description{
Storing indexes of cells to be (strong) emphasized of a tabular data in an internal buffer that can be released and applied by \code{\link{pandoc.table}}, \code{\link{pander}} or \code{\link{evals}} later.
}
\examples{
\dontrun{
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)
}
}