genSigma: Generate the Covariance matrix Sigma.

Description Usage Arguments

View source: R/genSigma.R

Description

genSigma generates the covariance matrix.

Usage

1
genSigma(distM, theta, cov.model, addNugget = TRUE)

Arguments

distM

Either a distance matrix (result from dist), or a matrix of distances.

theta

A vector of named covariance paramter. Must (at least) contain named element sigma2 and phi. Other possible elements include nugget and kappa.

cov.model

Argument that is passed to geoR::cov.spatial.

addNugget

TRUE/FALSE. If true nugget is added to the covariance matrix.


kohleth/spcreml documentation built on May 20, 2019, 12:53 p.m.