col2idx {XLConnect} | R Documentation |
Converts Excel column names to indices.
col2idx(x)
x |
Character vector of Excel column names (e.g. "A", "AF", ...) |
Returns a vector of integers representing the corresponding column indices. Note that passing invalid column name references may result in an arbitrary number.
Martin Studer
Mirai Solutions GmbH http://www.mirai-solutions.com
idx2col
, cref2idx
, idx2cref
,
idx2aref
, aref2idx
, aref
col2idx(c("A", "BTG"))