Learn R Programming

treeclim (version 2.0.6.0)

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)

Arguments

x

a numeric month id specification

Value

a numeric vector with the corrected month id specification