Learn R Programming

paar (version 1.0.1)

spatial_t_test: 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)

Value

a data.frame with the correlation and p-value for each pair of 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