View source: R/sw_dbW_WeatherDatabase.R
get_years_from_weatherDF | R Documentation |
Extract years to weather data.frame
get_years_from_weatherDF(weatherDF, years, weatherDF_dataColumns)
weatherDF |
A |
years |
A numeric or integer vector or |
weatherDF_dataColumns |
A vector of character strings. The column
names of |
A named list of length 2.
years
a vector of unique year values.
year_ts
a vector of time series values for each row/day of the
data.frame.
The first element of weatherDF_dataColumns
(only the first is used) must
contain the column name for day of year.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.