check_months: Check if all months are between -24 and 12 (previous and...

Description Usage Arguments Value

View source: R/check_months.R

Description

Make sure that all the months specified in the (probably complex) month specification to dcc are correct months, in the sense that they range between -24 and 12. Further, return the earliest month in the complete selection to decide if we need previous year climate later on.

Usage

1
check_months(selection)

Arguments

selection

the month selection as vector, list, or nested list

Value

a list with the earliest month and the result of the check (logical)


cszang/treeclim documentation built on Feb. 18, 2022, 4:54 a.m.