month2Season {swfscMisc}R Documentation

Convert Months to Seasons

Description

Convert numeric month to season: Winter = Dec-Feb, Spring = Mar-May, Summer = Jun-Aug, Fall = Sep-Nov

Usage

month2Season(x)

Arguments

x

a vector of months from 1:12

Author(s)

Eric Archer eric.archer@noaa.gov

Examples

months <- sample(1:12, 10, rep = TRUE)
months
month2Season(months)


[Package swfscMisc version 1.6.5 Index]