dimensions,tiledb_array_schema-method {tiledb}R Documentation

Returns a list of tiledb_dim objects associated with the tiledb_array_schema

Description

Returns a list of tiledb_dim objects associated with the tiledb_array_schema

Usage

## S4 method for signature 'tiledb_array_schema'
dimensions(object)

Arguments

object

tiledb_array_schema

Value

a list of tiledb_dim objects

Examples


dom <- tiledb_domain(dims = c(tiledb_dim("d1", c(1L, 100L), type = "INT32"),
                              tiledb_dim("d2", c(1L, 50L), type = "INT32")))
sch <- tiledb_array_schema(dom, attrs = c(tiledb_attr("a1", type = "INT32")))
dimensions(dom)

lapply(dimensions(dom), name)


[Package tiledb version 0.29.0 Index]