pp3: Three Dimensional Point Pattern

View source: R/pp3.R

pp3R Documentation

Three Dimensional Point Pattern

Description

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".

Author(s)

\spatstatAuthors

.

See Also

box3, print.pp3, ppx

Examples

   X <- pp3(runif(10), runif(10), runif(10),
            box3(c(0,1)),
            marks=rnorm(10))
   X

spatstat.geom documentation built on Sept. 18, 2024, 9:08 a.m.