index.spatial.cor: Pairwise Spatial Correlation

View source: R/index.spatial.cor.R

index.spatial.corR Documentation

Pairwise Spatial Correlation

Description

Function to compute the pairwise spatial correlation for a set of grid points/stations.

Usage

index.spatial.cor(tsl, type = "pearson", use = "pairwise.complete.obs")

Arguments

tsl

A list of vectors (one for each gridpoint/station) containing the data

type

Correlation type: "pearson" or "spearman"

use

Check ?cor. "pairwise.complete.obs" (default) ignores uses all available info for each column pair.

Value

A matrix number corresponding to the proportion/number of days below/above the defined threshold.

Author(s)

M.N. Legasa


SantanderMetGroup/VALUE documentation built on July 8, 2023, 7:03 a.m.