Krig.replicates.Rd
In case that several observations are available for a single spatial location find the group means and replicate variability
A list with components x
, y
, weights
, and possibily
Z
.
Spatial locations.
Spatial observations
Spatial covariates.
Weights proportional to reciprocal varainces of observations.
Number of significant digits to consider in determing a replicate location.
If TRUE print out details for debugging.
This function figures out which locations are the same and within the function fast.1way
use tapply
to find replicate group means and standard deviations.
NOTE: it is assumed the Z covariates are unique at the locations. Currently these functions
can not handle a model with common spatial locations but different values for the Z covariates.
A list with components:
Data at unique locations and where more than one observation is available this is the mean of the replicates.
Unique spatial locations.
Weights matching the unique lcoations proportional to reciprocal variances This is found as a combination of the original weights at each location.
Values of the covariates at the unique lcoations.
Index for unique rows of x
.
Standard deviation of pure error estimate based on replicate groups (and adjusting for possibly different weights.)
Integer tags indicating replicate groups.