Estimate location correlations

Share:

Description

Function to estimate correlations between all the locations(new+stations) using the results of the SG step

Usage

1
corrfit(crds, Tspline, sg.fit, model = 1)

Arguments

crds

coordinates of all locations beginning with new locations

Tspline

the thin-spline fit from the SG-steps

sg.fit

the mapping resulted from the SG method

model

variogram model; 1: exponential 2: gaussian

Value

correlation matrix among the locations