Last data update: 2014.03.03

R: Generator of PointPattern objects
PointPatternR Documentation

Generator of PointPattern objects

Description

Generate a PointPattern-class object representing a finite point pattern.

Usage

PointPattern(coord)

Arguments

coord

a matrix or a vector. If coord is a vector, it is transformed into a matrix with one column. Each column contains the Cartesian coordinates of a point. Hence the number of rows of coord defines the dimension of the space.

Value

An object of PointPattern-class.

See Also

PointPattern-class, generators PP2, PP3, generators of higher-dimensional figures Quadrat, Segment.

Examples

## Random planar point pattern
PointPattern(matrix(runif(10),2,5))
## Planar point pattern which consists of a single point
PointPattern(rep(0,2))
## Random point pattern on the line
PointPattern(matrix(runif(5),1,5))

Results