verifyCorrelation: RAnEnExtra::verifyCorrelation

Description Usage Arguments Details Author(s)

View source: R/verifyCorrelation.R

Description

RAnEnExtra::verifyCorrelation calculates correlation.

Usage

1
2
3
4
5
6
7
8
verifyCorrelation(
  anen.ver,
  obs.ver,
  boot = F,
  R = 1000,
  na.rm = T,
  parallel = F
)

Arguments

anen.ver

A 4-dimensional array. This array is usually created from the value column of the analogs member in the results of RAnEn::generateAnalogs. The dimensions should be [stations, times, lead times, members].

obs.ver

A 3-dimensional array. The dimensions should be [stations, times, lead times]. You can generate the array using RAnEn::alignObservations.

boot

Whether to use bootstrap.

R

The number of bootstrap replicates. Used by the function boot::boot.

na.rm

Whether to remove NA values.

parallel

Whether to use parallel processing.

Details

Bootstrap confidence interval is defaulted to 0.95. To change this, use options(RAnEnExtra_boot_conf = 0.9).

Author(s)

Guido Cervone cervone@psu.edu

Martina Calovi mxc895@psu.edu

Laura Clemente-Harding laura@psu.edu

To set the number of cores to use when parallel is used, options(mc.cores = 8).


Weiming-Hu/RAnEnExtra documentation built on Sept. 26, 2021, 6:44 a.m.