Returns the number of dimensions of the tiledb_domain

# S4 method for tiledb_domain
tiledb_ndim(object)

Arguments

object

tiledb_domain

Value

integer number of dimensions

Examples

ctx <- tiledb_ctx() dom <- tiledb_domain(ctx, dims = c(tiledb_dim(ctx, "d1", c(0.5, 100.0), type = "FLOAT64"))) tiledb_ndim(dom)
#> [1] 1
dom <- tiledb_domain(ctx, dims = c(tiledb_dim(ctx, "d1", c(0.5, 100.0), type = "FLOAT64"), tiledb_dim(ctx, "d2", c(0.5, 100.0), dtype = "FLOAT64")))
#> Error in tiledb_dim(ctx, "d2", c(0.5, 100), dtype = "FLOAT64"): unused argument (dtype = "FLOAT64")
tiledb_ndim(dom)
#> [1] 1