Skip to contents

Return excel cell coordinates from (x,y) coordinates

Usage

get_cell_refs(cellCoords)

Arguments

cellCoords

A data.frame with two columns coordinate pairs.

Value

Excel alphanumeric cell reference

Examples

get_cell_refs(data.frame(1, 2))
#> [1] "B1"
# "B1"
get_cell_refs(data.frame(1:3, 2:4))
#> [1] "B1" "C2" "D3"
# "B1" "C2" "D3"