conditionLatentObs {BayesNSGP}R Documentation

Assign conditioning sets for the SGV approximation

Description

conditionLatentObs assigns q_y(i) vs q_z(i) following Section 5.1 in Katzfuss and Guinness (2018). This function only needs to be run once per SGV analysis.

Usage

conditionLatentObs(nID, coords_ord, N)

Arguments

nID

N x k matrix of neighbor indices.

coords_ord

N x 2 matrix of locations.

N

Scalar; number of locations (observed only!).

Value

A matrix indicating whether the conditioning set for each location is on the latent process (y, 1) or the observed values (z, 0).


[Package BayesNSGP version 0.1.2 Index]