mi | R Documentation |
Calculate Moisture Index (MI) from daily values of precipitation, sunshine fraction and temperature.
mi(.data, ...)
## S3 method for class 'tbl_df'
mi(.data, cpus = 1, ...)
.data |
Data frame ( |
... |
Optional parameters, including |
cpus |
Numeric value with the number of CPUs to be used for the
computation. Default: |
The input (.data
object) data, should contain the following
columns:
latitude
: numeric values for latitude (decimal degrees).
elevation
: numeric values for elevation (m A.S.L.)
pre
: list of numeric values for daily precipitation
(mm / day).
sf
: list of numeric values for daily sunshine fraction (%).
tmp
: list of numeric values for daily temperature
(degrees Celsius).
Data frame (tibble
object) with the same input data and the
addition of a column called mi
, containing values for MI.
plot_mi
Other utils climate:
gdd()
,
mat()
,
mtco()
,
mtwa()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.