View source: R/sw_dbW_WeatherDatabase.R
dbW_dataframe_to_weatherData | R Documentation |
swWeatherData
Conversion: data.frame to object of class swWeatherData
dbW_dataframe_to_weatherData(
weatherDF,
years = NULL,
weatherDF_dataColumns = NULL,
round = NA
)
weatherDF |
A |
years |
A numeric vector. The calendar years. |
weatherDF_dataColumns |
A vector of character strings. The column
names of |
round |
An integer value. The number of decimal places for rounding
weather values (or |
weatherDF_dataColumns
consists of a vector with
(1) the variable name for day of year, e.g., "DOY"
, and
(2) weather variables, see weather_dataColumns()
,
or NULL
which attempts to guess relevant columns.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.