eval.cmod {gear}R Documentation

Evaluate covariance or semivariance model.

Description

eval.cmod evaluates the covariance of a model based on the provided arguments. This function will be deprecated in the future. Please use the evaluate function.

Usage

eval.cmod(mod, d, coords = NULL)

Arguments

mod

A covariance or semivariance model.

d

An n \times m matrix of distances.

coords

Not used.

Value

Returns the evaluated model with necessary components needed for estimate and predict.

Author(s)

Joshua French

Examples

n = 10
coords = matrix(runif(2*n), nrow = n, ncol = 2)
d = as.matrix(dist(coords))
cmod = cmod_std(model = "exponential", psill = 1, r = 1)
eval.cmod(cmod, d)

[Package gear version 0.3.4 Index]