View source: R/prepare_climdex.R
prepare_climdex | R Documentation |
prepare_climdex
rearranges a data frame to a
format suitable for use in RClimDex. This data frame can be rearranged and
exported to a file or connection with export_climdex
.
prepare_climdex(
data,
prcp,
tmax,
tmin,
date = NULL,
year = NULL,
month = NULL,
day = NULL,
na = -99.9
)
data |
|
prcp |
|
tmax |
|
tmin |
|
date |
|
year |
|
month |
|
day |
|
na |
|
A data.frame formatted for use in RClimDex
# Preparing the daily_niger data for export to ClimDex
prepare_climdex(data = daily_niger, date = "date", prcp = "rain", tmax = "tmax", tmin = "tmin")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.