thornthwaite | R Documentation |
This function calculates Thornthwaite’s potential evapotranspiration.
thornthwaite(Tave, lat, na.rm = FALSE)
Tave |
a numeric vector, matrix or time series of monthly mean temperatures, ºC. |
lat |
a numeric vector with the latitude of the site or sites, in degrees. |
na.rm |
optional, a logical value indicating whether NA values should be stripped from the computations. |
This function is a modified version of SPEI::thornthwaite() function.
A time series with the values of monthly potential or reference evapotranspiration, in mm. If the input is a matrix or a multivariate time series each column will be treated as independent data (e.g., diferent observatories), and the output will be a multivariate time series.
Santiago Begueria
thornthwaite(rnorm(12, 18, 6), 35)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.