Learn R Programming

tiledb (version 0.30.2)

dim.tiledb_array_schema: Retrieve the dimension (domain extent) of the domain

Description

Only valid for integral (integer) domains

Usage

# S3 method for tiledb_array_schema
dim(x)

Value

a dimension vector

Arguments

x

tiledb_array_schema

Examples

Run this code
ctx <- tiledb_ctx(limitTileDBCores())
dom <- tiledb_domain(dims = c(tiledb_dim("d1", c(1L, 10L), type = "INT32")))
sch <- tiledb_array_schema(dom, attrs = c(tiledb_attr("a1", type = "INT32"),
                                          tiledb_attr("a2", type = "FLOAT64")))
dim(sch)

Run the code above in your browser using DataLab