Learn R Programming

EnviroStat (version 0.4-2)

corrfit: Estimate location correlations

Description

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

Usage

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