Description Usage Arguments Value
Calculates the averages of unique names within a raster stack
1 2 | raster_ave_type(s, patt = "_24h\\.[[:digit:]]+", func = "mean",
verbose = FALSE, ...)
|
s |
A raster stack |
patt |
Character vector used to isolate unique classes within s . typilcally the varying part. e.g if the layers are names pm10_1, pm10_2 ....the patt is '_[[:digit:]]+$" |
func |
The function to be applied on subsets of the raster stack |
verbose |
Logical Messages or not |
Raster with function applied to subsets
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.