Learn R Programming

spatsurv (version 2.0)

GammafromY: GammafromY function

Description

A function to change Ys (spatially correlated noise) into Gammas (white noise). Used in the MALA algorithm.

Usage

GammafromY(Y, rootQeigs, mu)

Value

Gamma

Arguments

Y

Y matrix

rootQeigs

square root of the eigenvectors of the precision matrix

mu

parameter of the latent Gaussian field