Description Usage Arguments Value Author(s) See Also Examples

Given a fitted regularisation path produced by `ppmlasso`

, this function will predict the intensity for a new
set of data.

1 2 |

`object` |
A fitted regularisation path produced by |

`...` |
Additional arguments impacting the prediction calculations. |

`newdata` |
A data frame of new environmental data for which predicted intensities are computed. |

`interactions` |
A vector of point interactions for predictions of area-interaction models. |

A vector of predicted intensities corresponding to the environmental data provided in the `newdata`

argument.

Ian W. Renner

`ppmlasso`

for fitting a regularisation path of point process models.

1 2 3 4 5 6 | ```
data(BlueMountains)
sub.env = BlueMountains$env[BlueMountains$env$Y > 6270 & BlueMountains$env$X > 300,]
sub.euc = BlueMountains$eucalypt[BlueMountains$eucalypt$Y > 6270 & BlueMountains$eucalypt$X > 300,]
ppm.form = ~ poly(FC, TMP_MIN, TMP_MAX, RAIN_ANN, degree = 2, raw = TRUE)
ppm.fit = ppmlasso(ppm.form, sp.xy = sub.euc, env.grid = sub.env, sp.scale = 1, n.fits = 20)
pred.mu = predict(ppm.fit, newdata = sub.env)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.