corfield: Correlation

View source: R/corfield.R

corfieldR Documentation

Correlation

Description

Compute the correlation between field objects and station/field.

Usage

corfield(x, y, ...)

Arguments

x

data object

y

data object

...

additional arguments

plot

TRUE: plot the results

use

see cor

new

see link{map}

ip

index EOF pattern

Value

Map of correlation

Examples

x <- t2m.DNMI(lon=c(-40,30),lat=c(0,50))
y <- t2m.NorESM.M(lon=c(-40,30),lat=c(0,50))
r <- corfield(annual(x),annual(y))

data(Oslo)
t2m <- t2m.DNMI()
x <- subset(Oslo,it='january')
y <- subset(t2m,it='january')
r <- corfield(x,y)


metno/esd documentation built on April 29, 2024, 3:34 p.m.