Description Usage Arguments Value
Aggregate a array(dim >=3)* object to create a lower resolution (larger cells). Aggregation groups rectangular areas to create larger cells. The value for the resulting cells is computed with a user-specified function.
1 | aggregateArray(OriginalWert, aggregateN, aggregateFunction = colMeans)
|
OriginalWert |
Original array Wert |
aggregateN |
integer. Aggregation factor expressed as number of cells in each direction (horizontally and vertically). Or two integers (horizontal and vertical aggregation factor) or three integers (when also aggregating over layers). |
aggregateFunction |
= colMeans, function used to aggregate values. Function must support vectorization of column as input, like base::colMeans. |
a lower resolution array(same dimensions)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.