covEffects: covEffects function

Description Usage Arguments Value See Also Examples

Description

A function used in conjunction with the function "expectation" to compute the main covariate effects,
lambda(s) exp[Z(s)beta]
in each computational grid cell. Currently only implemented for spatial processes (lgcpPredictSpatialPlusPars and lgcpPredictAggregateSpatialPlusPars).

Usage

1
covEffects(Y, beta, eta, Z, otherargs)

Arguments

Y

the latent field

beta

the main effects

eta

the parameters of the latent field

Z

the design matrix

otherargs

other arguments to the function (see vignette "Bayesian_lgcp" for an explanation)

Value

the main effects

See Also

expectation, lgcpPredictSpatialPlusPars, lgcpPredictAggregateSpatialPlusPars

Examples

1
## Not run: ex <- expectation(lg,covEffects)[[1]] # lg is output from spatial LGCP MCMC

bentaylor1/lgcp documentation built on May 12, 2019, 2:09 p.m.