XLConnect (version 1.0.1)

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)

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.

Value

Returns a character vector of corresponding Excel area references.

See Also

aref2idx, aref, idx2cref, cref2idx, idx2col, col2idx

Examples

Run this code
# NOT RUN {
idx2aref(c(1, 1, 5, 4))
# }

Run the code above in your browser using DataCamp Workspace