spatial_pni: Function to calculate the Percent of Normal Index

View source: R/Meteorological_drought.R

spatial_pniR Documentation

Function to calculate the Percent of Normal Index

Description

Function to calculate the Percent of Normal Index

Usage

spatial_pni(P_data)

Arguments

P_data

'SpatRaster' object that contains spatially-distributed monthly precipitation data that will be used to calculate the Percent of Normal Index. 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 Percent of Normal Index.


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