WrdCellRange: Return the Cell Range Of a Word Table

View source: R/DescTools.r

WrdCellRangeR Documentation

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.

Details

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

Value

a handle to the range.

Author(s)

Andri Signorell <andri@signorell.net>

See Also

WrdTable

Examples

## 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()

## End(Not run)

AndriSignorell/DescTools documentation built on April 13, 2024, 6:33 a.m.