For dense arrays, use tiledb_query_apply_aggregate
after setting an
appropriate subarray.
tiledb_array_apply_aggregate(
array,
attrname,
operation = c("Count", "NullCount", "Min", "Max", "Mean", "Sum"),
nullable = TRUE
)
The value of the aggregation
A TileDB Array object
The name of an attribute
The name of aggregation operation
A boolean toggle whether the attribute is nullable