R/year.R
year.Rd
year() is a constructor for <grates_year> objects.
year()
<grates_year>
year(x = integer()) is_year(object)
[integer]
Vector representing the years.
double vectors will be converted via as.integer(floor(x)).
double
as.integer(floor(x))
R object.
A <grates_year> object.
year(2011:2020) #> <grates_year[10]> #> [1] 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020