View source: R/lgcpStructures.R
covEffects | R Documentation |
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).
covEffects(Y, beta, eta, Z, otherargs)
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) |
the main effects
expectation, lgcpPredictSpatialPlusPars, lgcpPredictAggregateSpatialPlusPars
## Not run: ex <- expectation(lg,covEffects)[[1]] # lg is output from spatial LGCP MCMC
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.