View source: R/find_Sampling_Year.R
find_Sampling_Year | R Documentation |
Find Sampling Year
find_Sampling_Year(dates, wet_season_split = 7)
dates |
A date vector of sampling dates. Must be in yyyy-mm-dd format. |
wet_season_split |
The first month of the sampling year in numeric e.g. July = 7. July (7) is used as the default as this is the first month of the Queensland wet season. |
A factored character vector
dates <- as.Date(c("2014-03-04", "2014-12-30", "2015-06-12"))
sampling_years <- find_Sampling_Year(dates) #cut of date
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.