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

addSeason.Rd

Blame
  • Forked from SERG / dataCleaning
    Source project has a limited visibility.
    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}