tiledb_ndim,tiledb_array_schema-method {tiledb}R Documentation

Return the number of dimensions associated with the tiledb_array_schema

Description

Return the number of dimensions associated with the tiledb_array_schema

Usage

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

Arguments

object

tiledb_array_schema

Value

integer number of dimensions

Examples


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")))
tiledb_ndim(sch)


[Package tiledb version 0.29.0 Index]