PermArraySig: Internal function: Comparison of permutation array with true...

View source: R/Plotting_Functions.R

PermArraySigR Documentation

Internal function: Comparison of permutation array with true values

Description

This function takes the results of the permutation correlation test and returns a matrix of logical values of whether

Usage

PermArraySig(PermArray, TrueMatrix, percentile = NA)

Arguments

PermArray

an array of the permutation correlation results where rows and columns correspond with Lats and Longs respectively and slices are permutation iterations.

TrueMatrix

the matrix of correlation values calculated from the true values.

Sig

a numeric value for the signficance level the t.test is to perform to.

Alt

a character string to be passed to the alternative argument of the t.test.

Value

Matrix of logical values for grid cell locations where the significance level is met.

Author(s)

Ardern Hulme-Beaman


ArdernHB/GeoOrigins documentation built on Nov. 19, 2022, 10:21 a.m.