View source: R/lgcpStructures.R
chooseCellwidth | R Documentation |
A function to help choose the cell width (the parameter "cellwidth" in lgcpPredictSpatialPlusPars, for example) prior to setting up the FFT grid, before an MCMC run.
chooseCellwidth(obj, cwinit)
obj |
an object of class ppp, stppp, SpatialPolygonsDataFrame, or owin |
cwinit |
the cell width |
Ideally this function should be used after having made a preliminary guess at the parameters of the latent field.The idea is to run chooseCellwidth several times, adjusting the parameter "cwinit" so as to balance available computational resources with output grid size.
produces a plot of the observation window and computational grid.
getpolyol, guessinterp, getZmat, addTemporalCovariates, lgcpPrior, lgcpInits, CovFunction lgcpPredictSpatialPlusPars, lgcpPredictAggregateSpatialPlusPars, lgcpPredictSpatioTemporalPlusPars, lgcpPredictMultitypeSpatialPlusPars
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.