Learn R Programming

PowerSDI (version 1.0.0)

refPM: Example of the Input Required by the Reference Function

Description

Contains data for calculating the SPI and SPEI.

Usage

refPM

Arguments

Format

A data.frame with 10958 rows and 11 variables.

YEAR

Year

MM

Month

DD

Day

tavg

Daily average air temperature at 2 metres above the ground (degrees C)

tmax

Daily maximum air temperature at 2 metres above the ground (degrees C)

tmin

Daily minimum air temperature at 2 metres above the ground (degrees C)

Ra

Daily top of the atmosphere radiation (MJ/m^2/day)

Rs

Daily global horizontal irradiance (MJ/m^2/day)

W

Daily average wind speed at 2 metres above the ground (m/s)

RH

Daily average relative humidity at 2 metres above the ground (in percentage)

Rain

Daily rainfall amounts (mm)

Examples

Run this code
data(refPM)

Run the code above in your browser using DataLab