Skip to contents

This function takes a column (character) and a row (numeric) and returns a formatted string by concatenating the column and row values.

Usage

concat_position(col, row)

Arguments

col

A character vector indicating the column.

row

A numeric vector indicating the row.

Value

A character vector of the concatenated position.

Examples

concat_position("A", 5) # "A05"
#> [1] "A05"
concat_position("B", 1) # "B01"
#> [1] "B01"
concat_position("AA", 23) # "AA23"
#> [1] "AA23"