Skip to content
Snippets Groups Projects
Select Git revision
  • 5cfba90826df679e95e3b2a484a3a1444fa471f8
  • master default protected
2 results

addSeason.Rd

Blame
  • addSeason.Rd 609 B
    % 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}