spatial_t_test: Modified t test

View source: R/spatial_t_test.R

spatial_t_testR Documentation

Modified t test

Description

Performs a modified version of the t test to assess the correlation between spatial processes. See SpatialPack::modified.ttest for details.

Usage

spatial_t_test(data, variables)

Arguments

data

sf data to extract coordinates or two columns matrix or data.frame specifying coordinates.

variables

character vector with column names to perform ttest

Value

a data.frame with the correlation and p-value for each pair of variables


PPaccioretti/paar documentation built on Sept. 17, 2024, 1:21 p.m.