correct_continuous: Correct continuous month specifications

View source: R/correct_continuous.R

correct_continuousR Documentation

Correct continuous month specifications

Description

If month specification is continuous, it must be interpreted differently if it contains 0. E.g., -5:8 must be translated to c(-5:-12, 1:8).

Usage

correct_continuous(month)

Arguments

x

a numeric month id specification

Value

a numeric vector with the corrected month id specification


treeclim documentation built on March 18, 2022, 7:22 p.m.