col2idx: Converting Excel column names to indices

View source: R/col2idx.R

col2idxR Documentation

Converting Excel column names to indices

Description

Converts Excel column names to indices.

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.

Author(s)

Martin Studer
Mirai Solutions GmbH https://mirai-solutions.ch

See Also

idx2col, cref2idx, idx2cref, idx2aref, aref2idx, aref

Examples

## Not run: 
col2idx(c("A", "BTG"))

## End(Not run)

XLConnect documentation built on Sept. 11, 2024, 8:04 p.m.