Learn R Programming

XLConnect (version 1.0.7)

idx2aref: Converting row and column based area references to Excel area references

Description

Converts row & column based area references to Excel area references

Usage

idx2aref(x)

Value

Returns a character vector of corresponding Excel area references.

Arguments

x

Numeric (integer) matrix or vector of indices. If a matrix is provided it should have four columns with the first two columns representing the top left corner (row and column indices) and the third & fourth column representing the bottom right corner. If a vector is provided it will be converted to a matrix by filling the vector into a 4-column matrix by row.

Author

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

See Also

aref2idx, aref, idx2cref, cref2idx, idx2col, col2idx

Examples

Run this code
if (FALSE) {
idx2aref(c(1, 1, 5, 4))
}

Run the code above in your browser using DataLab