as.range {cellranger} | R Documentation |
Convert a cell_limits object to a cell range
Description
Convert a cell_limits object to a cell range
Usage
as.range(x, fo = c("R1C1", "A1"), strict = FALSE, sheet = NULL)
Arguments
x |
a cell_limits object |
fo |
either |
strict |
logical, affects reading and writing of A1 formatted cell
references. When |
sheet |
logical, indicating whether to include worksheet name; if
|
Value
length one character vector holding a cell range
Examples
rgCL <- cell_limits(ul = c(1, 2), lr = c(7, 6))
as.range(rgCL)
as.range(rgCL, fo = "A1")
rgCL_ws <- cell_limits(ul = c(1, 2), lr = c(7, 6), sheet = "A Sheet")
as.range(rgCL_ws)
as.range(rgCL_ws, fo = "A1")