Description Usage Arguments Details Value Author(s)
View source: R/assign_season.R
Assign seasons to sampling data on a monthly basis or user-defined basis
1 2 |
data |
a vector of POSIXct dates |
season |
A list of seasons. Months (1-12) are assigned to different groups based on user preference. Defaults to 12 months, starting with January. Must assign a minimum of two seasons |
season_names |
A string vector of season names. The number of season names must match the length of the |
season_start |
defaults to 12 months, starting with January |
abb |
logical, should abbreviations for month names be used? Defaults to |
A function used to assign seasons to sampling data and to order the seasons. This function also allows the user to designate which season should be first.
Returns a vector of ordered season factors.
Julie Padilla
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.