Returns a list of the tiledb_domain dimension objects
Source:R/Domain.R
dimensions-tiledb_domain-method.Rd
Returns a list of the tiledb_domain dimension objects
Usage
# S4 method for class 'tiledb_domain'
dimensions(object)
Examples
dom <- tiledb_domain(dims = c(
tiledb_dim("d1", c(1L, 100L), type = "INT32"),
tiledb_dim("d2", c(1L, 50L), type = "INT32")
))
dimensions(dom)
#> [[1]]
#> tiledb_dim(name="d1", domain=c(1L,100L), tile=100L, type="INT32")
#>
#> [[2]]
#> tiledb_dim(name="d2", domain=c(1L,50L), tile=50L, type="INT32")
#>
lapply(dimensions(dom), name)
#> [[1]]
#> [1] "d1"
#>
#> [[2]]
#> [1] "d2"
#>