eval.cmod: Evaluate covariance or semivariance model.

Description Usage Arguments Value Author(s) Examples

View source: R/eval.cmod.R

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

1
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

1
2
3
4
5
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)

gear documentation built on April 14, 2020, 5:12 p.m.

Related to eval.cmod in gear...