convert_precipitation | R Documentation |
Converts units of precipitation data
convert_precipitation(
x,
unit_from,
unit_to = c("cm day-1", "cm month-1", "cm/day", "cm/month"),
dpm = NA
)
x |
A numeric object. Precipitation data in units of |
unit_from |
A character string. Units of data in |
unit_to |
A character string. Units to which data are converted. Currently, supported unit are "cm day-1", "cm month-1" and respectively "cm/day", "cm/month". |
dpm |
A numeric object. Number of days per month in the time series
|
A numeric object of the same size as x
in units of
unit_to
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.