View source: R/relative_humidity.R
relative_humidity | R Documentation |
Calculate relative humidity from 2m temperature (in Celsius) and 2m dew point temperature (in Celsius).
relative_humidity(t2m, d2m, unit = "Celsius", method = "August-Roche-Magnus")
t2m |
2m temperature (in Celsius) |
d2m |
2m dew point temperature (in Celsius) |
unit |
can be "Celsius" (default) or "Kelvin" |
method |
can be "August-Roche-Magnus" (default) or "Clausius-Clapeyron" |
The function returns a numeric, with length equal to t2m (and d2m).
## Not run: relative_humidity(t2m = 30, d2m = 25, unit = "Celsius", method = "August-Roche-Magnus") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.