Learn R Programming

pgs (version 0.4-0)

PointPattern-class: Class "PointPattern"

Description

Extend class "Figure". Representation of finite point patterns.

Arguments

Objects from the Class

Objects can be created by calls of the form new("PointPattern", ...). It is recommended to use the generator PointPattern.

Slots

dimspace:
Object of class "numeric". The dimension of the space where the points lie.
coord:
Object of class "matrix". The matrix columns contain the Cartesian coordinates of the points.

Extends

Class "Figure", directly.

Methods

content
signature(x = "PointPattern"): compute the number of points.
covariogram
signature(x = "PointPattern", f = "function"): covariogram for "PointPattern" objects.
plot
signature(x = "PointPattern", y = "missing"): plot a PointPattern object. Implemented only for planar point patterns. The extra argument origin (default: null vector) may be used to plot the point pattern translated by the vector origin. If the extra argument add (default: FALSE) is TRUE, the point pattern is added to the current plot. signature(x = "PointPattern", y = "matrix"): plot the pattern of parallel lines defined as the Minkowski sum of x and the line spanned by the y. Only implemented in 2D. Extra arguments origin and add are described above.
print
signature(x = "PointPattern"): print a PointPattern object.

See Also

Generators PointPattern, Segment-class, Quadrat-class.