cref2idx {XLConnect} | R Documentation |
Converting Excel cell references to indices
Description
Converts Excel cell references to row & column indices
Usage
cref2idx(x)
Arguments
x |
Character vector of Excel cell references (e.g. "$A$20", "B18", ...) |
Value
Returns a numeric matrix with two columns and as many rows as cell references that have been provided. The first column represents the row indices and the second column represents the column indices.
Author(s)
Martin Studer
Mirai Solutions GmbH https://mirai-solutions.ch
See Also
idx2cref
, col2idx
, idx2col
,
idx2aref
, aref2idx
, aref
Examples
## Not run:
cref2idx(c("$A$20", "B18"))
## End(Not run)
[Package XLConnect version 1.0.10 Index]