tiledb_ndrectangle_get_range {tiledb}R Documentation

Get a range from a tiledb_ndrectangle object

Description

Get a range from a tiledb_ndrectangle object

Usage

tiledb_ndrectangle_get_range(ndr, dimname)

Arguments

ndr

A TileDB NDRectangle object

dimname

A character variable with the dimension for which to get a range

Value

The tiledb_ndrectangle range as a two-element vector

Examples


if (tiledb_version(TRUE) >= "2.25.0") {
   dom <- tiledb_domain(dim = tiledb_dim("d1", c(1L, 100L), type = "INT32"))
   ndr <- tiledb_ndrectangle(dom)
   ndr <- tiledb_ndrectangle_set_range(ndr, "d1", 50, 500)
   tiledb_ndrectangle_get_range(ndr, "d1")
}

[Package tiledb version 0.29.0 Index]