Learn R Programming

pgs (version 0.4-0)

PPRectLat2: Generator of 2D rectangular lattices of point patterns

Description

Create a FigLat-class object representing a 2D rectangular lattice of point patterns.

Usage

PPRectLat2(hl=1, vl=hl, n=1, hp=hl/5, vp=hp, h3 = TRUE)

Arguments

hl
the horizontal distance between homologous points in two neighbour point patterns. Default : 1.
vl
the vertical distance between homologous points in two neighbour point patterns. Default: hl (square lattice).
n
the number of points in each point pattern. Valid values for n: 1, 4, 5, 6, 7, 8 or 9 (see PP2 documentation). Default: 1 (lattice of points).
hp
the horizontal side length of the rectangle bounding the point pattern. Default: hl/5.
vp
the vertical side length of the rectangle bounding the point pattern. Default: hp (square bounding box for each point pattern).
h3
determines the orientation of the point pattern when n=6, 7 or 8, see PP2 documentation.

Value

A FigLat-class object.

See Also

Generators FigLat, PointPattern, PP2, RectLat2, other generators of 2D figure lattices PPHexLat2, PPQcxLat2, QHexLat2, QQcxLat2, QRectLat2, SHexLat2, SQcxLat2, SRectLat2, LLat2.

Examples

Run this code
PPRectLat2()# Unit square lattice of points
PPRectLat2(hl=1,n=7)
PPRectLat2(1,1,7,.2,.2,FALSE)

Run the code above in your browser using DataLab