Learn R Programming

DescTools (version 0.99.37)

WrdCellRange: Return the Cell Range Of a Word Table

Description

Return a handle of a cell range of a word table. This is useful for formating the cell range.

Usage

WrdCellRange(wtab, from, to)

Arguments

wtab

a handle to the word table as returned i.g. by WrdTable

from

a vector containing row- and column number of the left/upper cell of the cell range.

to

a vector containing row- and column number of the right/lower cell of the cell range.

Value

a handle to the range.

Details

Cell range selecting might be complicated. This function makes it easy.

See Also

WrdTable

Examples

Run this code
# NOT RUN {
# Windows-specific example
wrd <- GetNewWrd()
WrdTable(nrow=3, ncol=3, wrd=wrd)
crng <- WrdCellRange(from=c(1,2), to=c(2,3))
crng$Select()
# }

Run the code above in your browser using DataLab