lppm(X, ...)## S3 method for class 'formula':
lppm(X, interaction=NULL, ..., data=NULL)
## S3 method for class 'lpp':
lppm(X, ..., eps=NULL, nd=1000)
"lpp" specifying a point pattern
on a linear network, or a formula specifying the
point process model.ppm."interact"
describing the point process interaction
structure, or NULL indicating that a Poisson process (stationary
or nonstationary) should be fitted.eps is given."lppm" representing the fitted model.
There are methods for print, predict,
coef and similar functions.ppm designed
to work with objects of class "lpp" instead of "ppp". The function lppm is generic, with methods for
the classes formula and lppp.
In lppm.lpp
the first argument X should be an object of class "lpp"
(created by the command lpp) specifying a point pattern
on a linear network.
In lppm.formula,
the first argument is a formula in the Rlanguage
describing the spatial trend model to be fitted. It has the general form
pattern ~ trend where the left hand side pattern is usually
the name of a point pattern on a linear network
(object of class "lpp")
to which the model should be fitted, or an expression which evaluates
to such a point pattern;
and the right hand side trend is an expression specifying the
spatial trend of the model.
Other arguments ... are passed from lppm.formula
to lppm.lpp and from lppm.lpp to ppm.
McSwiggan, G., Nair, M.G. and Baddeley, A. (2012) Fitting Poisson point process models to events on a linear network. Manuscript in preparation.
methods.lppm,
predict.lppm,
ppm,
lpp.example(lpp)
lppm(X ~1)
lppm(X ~x)Run the code above in your browser using DataLab