Performs a modified version of the t test to assess the correlation between spatial processes. See SpatialPack::modified.ttest for details.
spatial_t_test(data, variables)a data.frame with the correlation and p-value for each pair of variables
sf data to extract coordinates or two
columns matrix or data.frame specifying coordinates.
character vector with column names to perform ttest