pp3
From spatstat v1.64-1
by Adrian Baddeley
Three Dimensional Point Pattern
Create a three-dimensional point pattern
Usage
pp3(x, y, z, ..., marks=NULL)
Arguments
- x,y,z
Numeric vectors of equal length, containing Cartesian coordinates of points in three-dimensional space.
- …
Arguments passed to
as.box3
to determine the three-dimensional box in which the points have been observed.- marks
Optional. Vector, data frame, or hyperframe of mark values associated with the points.
Details
An object of class "pp3"
represents a pattern of points in
three-dimensional space. The points are assumed to have been observed
by exhaustively inspecting a three-dimensional rectangular box. The
boundaries of the box are included as part of the dataset.
Value
Object of class "pp3"
representing a three dimensional
point pattern. Also belongs to class "ppx"
.
See Also
Examples
# NOT RUN {
X <- pp3(runif(10), runif(10), runif(10),
box3(c(0,1)),
marks=rnorm(10))
X
# }
Community examples
Looks like there are no examples yet.