Description Usage Arguments Value Examples
Fits spatial point process models via penalized composite likelihood. The regularization path is computed for the lasso or elastic net penalty along a sequence of tuning parameter values. Support for Poisson point process models and for Gibbs point process models.
1 2 |
Q |
A quadrature scheme (of class |
data |
A list of pixel images (of class |
interaction |
An object (of class |
correction |
Edge correction to be used. Either " |
rbord |
If |
method |
Method to be used to fit the model. Either
" |
... |
Additional arguments passed to |
An object of class "ppmnet
".
1 2 3 4 5 6 7 8 9 10 11 | # Poisson model fit via penalized maximum likelihood
Qp <- quadscheme(Xp)
fitp <- ppmnet(Qp, exdata)
# Strauss model fit via penalized maximum pseudolikelihood
Qs <- quadscheme(Xs)
fits <- ppmnet(Qs, exdata, Strauss(5), nlambda = 20)
# Geyer saturation model fit via penalized logistic composite likelihood
Qg <- quadscheme.logi(Xg)
fitg <- ppmnet(Qg, exdata, Geyer(5, 1), method = "logi", nlambda = 20)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.