Learn R Programming

treeclim (version 2.0.7.1)

correct_continuous: 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)

Value

a numeric vector with the corrected month id specification

Arguments

month

a numeric month id specification