File: data.lppm.Rd

package info (click to toggle)
r-cran-spatstat.linnet 3.2-5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,664 kB
  • sloc: ansic: 2,107; makefile: 32; sh: 13
file content (45 lines) | stat: -rw-r--r-- 1,188 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
\name{data.lppm}
\alias{data.lppm}
\title{Extract Original Data from a Fitted Point Process Model on a Network}
\description{
  Given a fitted point process model on a linear network,
  this function extracts the original point pattern dataset 
  to which the model was fitted.
}
\usage{
  data.lppm(object)
}
\arguments{
  \item{object}{
    fitted point process model
    on a linear network (an object of class \code{"lppm"}).
  }
}
\value{
  A point pattern on a linear network (object of class \code{"lpp"}).
}
\details{
  An object of class \code{"lppm"} represents a point process model
  that has been fitted to a point pattern dataset on a linear network.
  It is typically produced by
  the model-fitting algorithm \code{\link{lppm}}.
  The object contains complete information about the original data
  point pattern to which the model was fitted.
  This function extracts the original data pattern.
}
\seealso{
  \code{\link{lppm}},
  \code{\link[spatstat.model]{data.ppm}}
}
\examples{
 fit <- lppm(spiders ~ x)
 X <- data.lppm(fit)
 # 'X' is identical to 'spiders'
}
\author{
  \spatstatAuthors.
}
\keyword{spatial}
\keyword{manip}
\keyword{models}
\concept{Linear network}