Learn R Programming

tiledb (version 0.30.2)

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

Description

Only valid for integral (integer) domains

Usage

# S3 method for tiledb_domain
dim(x)

Value

dimension vector

Arguments

x

tiledb_domain

Examples

Run this code
ctx <- tiledb_ctx(limitTileDBCores())
dom <- tiledb_domain(dims = c(tiledb_dim("d1", c(1L, 100L), type = "INT32"),
                              tiledb_dim("d2", c(1L, 100L), type = "INT32")))
dim(dom)

Run the code above in your browser using DataLab