View source: R/Trend_analyses.R
mk_spatial | R Documentation |
Non-parametric Man-Kendall trend test
mk_spatial(rst, vct = NULL, conf_level = 0.95, p_thres = 0.05)
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. |
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).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.