mk_spatial: Non-parametric Man-Kendall trend test

View source: R/Trend_analyses.R

mk_spatialR Documentation

Non-parametric Man-Kendall trend test

Description

Non-parametric Man-Kendall trend test

Usage

mk_spatial(rst, vct = NULL, conf_level = 0.95, p_thres = 0.05)

Arguments

rst

'SpatRaster' object.

vct

Vector file of the study area (Optional). It will be used to crop the spatial extent of the raster files if required. This parameter is set to 'NULL'

conf_level

Level of significance. Set to 0.95 by default.

p_thres

threshold of p-value. Set to 0.05 by default.

Value

returns gridded layers(i.e., grid-cells where p-value < p_thres, p-value, Kendall_Score-S, Variance_of_Kendall_Score-varS, Tau values, "Sen's_Slope", "Total_change") and a vector layer (i.e., grid-cells where p-value < p_thres).


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