Description Usage Arguments Value Examples
View source: R/A1-to-from-RC.R
Convert cell reference strings from R1C1 to A1 format. This only makes sense
for absolute references, such as "R4C2"
. Why? Because otherwise, we'd
have to know the host cell of the reference. Relative and mixed references,
like ("R[3]C[-1]"
and "R[1]C5"
), will therefore return
NA
.
1 | R1C1_to_A1(x, strict = TRUE)
|
x |
vector of cell positions in R1C1 notation |
strict |
logical, affects reading and writing of A1 formatted cell
references. When |
character vector of absolute cell references in A1 notation
1 2 3 | R1C1_to_A1("R1C1")
R1C1_to_A1("R10C52", strict = FALSE)
R1C1_to_A1(c("R1C1", "R10C52", "RC4", "R[-3]C[9]"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.