Learn R Programming

tiledb (version 0.30.2)

tiledb_ndim,tiledb_domain-method: Returns the number of dimensions of the tiledb_domain

Description

Returns the number of dimensions of the tiledb_domain

Usage

# S4 method for tiledb_domain
tiledb_ndim(object)

Value

integer number of dimensions

Arguments

object

tiledb_domain

Examples

Run this code
ctx <- tiledb_ctx(limitTileDBCores())
dom <- tiledb_domain(dims = c(tiledb_dim("d1", c(0.5, 100.0), type = "FLOAT64")))
tiledb_ndim(dom)
dom <- tiledb_domain(dims = c(tiledb_dim("d1", c(0.5, 100.0), type = "FLOAT64"),
                                   tiledb_dim("d2", c(0.5, 100.0), type = "FLOAT64")))
tiledb_ndim(dom)

Run the code above in your browser using DataLab