cor: Correlation

Description Usage Arguments Value Author(s) Examples

Description

Compute the correlation between field objects and station/field.

Usage

1
2
3
4
5
6
7
8
corfield(x,y, use='pairwise.complete.obs',...)
corfield.default(x,y,...)
corfield.zoo(x,y,plot=TRUE,use='pairwise.complete.obs',...) 
corfield.field(x,y,plot=TRUE,use='pairwise.complete.obs',...)
corfield.field.station(x,y,plot=TRUE, use='pairwise.complete.obs',...)
corfield.station(x,y,plot=TRUE, use='pairwise.complete.obs',...)
corfield.eof(x,y,pattern=1,plot=TRUE,
             use='pairwise.complete.obs',na.action='na.omit',...)

Arguments

x

data object

y

data object

plot

TRUE: plot the results

use

see cor

.

Value

Map of correlation

Author(s)

R.E. Benestad and A. Mezghani

Examples

1
2
3
4
5
6
7
8
9
x <- t2m.ERAINT(lon=c(-40,30),lat=c(0,50))
y <- t2m.NCEP(lon=c(-40,30),lat=c(0,50))
r <- corfield(annual(x),annual(y))

data(Oslo)
t2m <- t2m.ERAINT()
x <- subset(Oslo,it=1)
y <- subset(t2m,it=1)
r <- corfield(x,y)

metno/esd.test documentation built on May 22, 2019, 7:49 p.m.