Learn R Programming

tiledb (version 0.33.0)

dimensions,tiledb_array_schema-method: 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 tiledb_array_schema
dimensions(object)

Value

A list of tiledb_dim objects

Arguments

object

A TileDB Schema object

Examples

Run this code
# \dontshow{
ctx <- tiledb_ctx(limitTileDBCores())
# }
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)

Run the code above in your browser using DataLab