aref
From XLConnect v1.0.1
by Martin Studer
Constructing Excel area references
Constructs an Excel area reference
- Keywords
- utilities
Usage
aref(topLeft, dimension)
Arguments
- topLeft
Top left corner. Either a
character
specifying a cell reference in the form "A1" or anumeric
vector of length two specifying the corresponding coordinates.- dimension
Dimensions (
numeric
) of a 2-dimensional object (mostly adata.frame
or amatrix
)
Value
Returns the area reference (character
) for the specified top left cell and dimension.
See Also
Examples
# NOT RUN {
aref("A1", dim(mtcars))
aref(c(1, 1), dim(mtcars))
# }
Community examples
Looks like there are no examples yet.