spatial_deciles: Function to calculate the Deciles method

View source: R/Meteorological_drought.R

spatial_decilesR Documentation

Function to calculate the Deciles method

Description

Function to calculate the Deciles method

Usage

spatial_deciles(P_data)

Arguments

P_data

'SpatRaster' object that contains spatially-distributed monthly precipitation data that will be used to calculate the SPI. This 'SpatRaster' must include the time that corresponds to the dates of the respective layers. They can be set with the function time of the terra package.

Value

Spatially-distributed Decile values.


obaezvil/SpatIndex documentation built on Aug. 9, 2024, 3:42 p.m.