fitted.ppmnet: Fitted conditional intensity from a 'ppmnet' object

Description Usage Arguments Value Examples

View source: R/predict.R

Description

Computes the fitted conditional intensity for a regularized spatial point process model at the quadrature points used to fit the model.

Usage

1
2
## S3 method for class 'ppmnet'
fitted(object, s = NULL, drop = FALSE, ...)

Arguments

object

A fitted ppmnet object.

s

Value(s) of the penalty tuning parameter at which predictions are to be made. Default is the entire sequence used to fit the regularization path.

drop

Logical value. If TRUE, quadrature points that were not used to fit the model are deleted.

...

Ignored

Value

A matrix of fitted values, or, if s is of length 1, a vector of fitted values.

Examples

1
2
3
Qp <- quadscheme(Xp)
fitp <- ppmnet(Qp, exdata)
fitted(fitp)

jeffdaniel/ppmnet documentation built on Aug. 14, 2019, 6:31 a.m.