Description Usage Arguments Value Examples
This function assumes the input is a raster brick object that has many layers that represent an ordered series of different timesteps. It selects the layers for each month and calulates the mean for that month. Then returns a brick of 12 layers, representing the January-December means.
1 | brick_calc_monthly_mean(input_brick, input_brick_time_as_posixlt)
|
input_brick |
raster brick object that has many layers that represent an series of timesteps. |
input_brick_time_as_posixlt |
associated POSIXlt class vector describing the time value for each layer. |
Returns a raster brick object with 12 layers, one for each month that has been calulated. (NB: The function may fail if there are not 12 months in the input brick.)
1 | #I need to add an example...
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.