define_seasons: Associate brick layers with seasons

View source: R/new_functions.R

define_seasonsR Documentation

Associate brick layers with seasons

Description

Determine which raster layers correspond to which times of year based on what each layer represents and which hemisphere to use; currently, only temperate seasons are supported.

Usage

define_seasons(brick, layer_type = "month", hemisphere = "northern")

Arguments

brick

a RasterBrick object

layer_type

a character vector indicating if each layer represents a month or a year

hemisphere

a character vector indicating if temperate northern or southen hemisphere seasons should be used

Value

a named list of numbers indicating which layer belongs to which time classification


elizagrames/climetric documentation built on Nov. 1, 2022, 6:26 a.m.