addSeason: Add season to a data.table depending on hemisphere

View source: R/addSeason.R

addSeasonR Documentation

Add season to a data.table depending on hemisphere

Description

addSeason returns a dt with hemisphere season (Winter, Spring, Summer, Autumn) added - assume temperature latitudes

Usage

addSeason(dt, dateVar, h)

Arguments

dt

the data table

dateVar

the column in the dt which is a date that lubridate::month() will work on

h

hemisphere: North (N) or South (S)?

Author(s)

Ben Anderson, b.anderson@soton.ac.uk

See Also

Other utils: addLockdownRect(), alignDates(), getDuration(), gzipFile(), loadLibraries(), nzCalculateCO2e(), setPeakPeriod(), setup(), tidyNum()


CfSOtago/gridCarbon documentation built on April 5, 2022, 6:46 a.m.