addSeason.Rd 609 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/addSeason.R
\name{addSeason}
\alias{addSeason}
\title{Add season to a data.table depending on hemisphere}
\usage{
addSeason(dt, dateVar, h)
}
\arguments{
\item{dt}{the data table}

\item{dateVar}{the column in the dt which is a date that lubridate::month() will work on}

\item{h}{hemisphere: North (N) or South (S)?}
}
\description{
\code{addSeason} returns a dt with hemisphere season (Winter, Spring, Summer, Autumn) added - assume temperature latitudes
}
\author{
Ben Anderson, \email{b.anderson@soton.ac.uk}
}
\concept{utils}