col2idx

0th

Percentile

Converting Excel column names to indices

Converts Excel column names to indices.

Keywords
utilities
Usage
col2idx(x)
Arguments
x

Character vector of Excel column names (e.g. "A", "AF", ...)

Value

Returns a vector of integers representing the corresponding column indices. Note that passing invalid column name references may result in an arbitrary number.

See Also

idx2col, cref2idx, idx2cref, idx2aref, aref2idx, aref

Aliases
  • col2idx
Examples
# NOT RUN {
col2idx(c("A", "BTG"))
# }
Documentation reproduced from package XLConnect, version 0.2-14, License: GPL-3

Community examples

Looks like there are no examples yet.