PPRectLat2: Generator of 2D rectangular lattices of point patterns

Description Usage Arguments Value See Also Examples

View source: R/pgs.R

Description

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

Usage

1
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

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

Example output

Loading required package: gsl
Loading required package: R2Cuba
An object of class "FigLat"
Slot "vlat":
An object of class "VecLat"
Slot "dimspace":
[1] 2

Slot "dimsupp":
[1] 2

Slot "gmat":
     [,1] [,2]
[1,]    1    0
[2,]    0    1

Slot "gmat0":
     [,1] [,2]
[1,]    1    0
[2,]    0    1

Slot "det":
[1] 1


Slot "fig":
An object of class "PointPattern"
Slot "dimspace":
[1] 2

Slot "coord":
     [,1]
[1,]    0
[2,]    0


Slot "lmat":
     [,1]
[1,]    0
[2,]    0

An object of class "FigLat"
Slot "vlat":
An object of class "VecLat"
Slot "dimspace":
[1] 2

Slot "dimsupp":
[1] 2

Slot "gmat":
     [,1] [,2]
[1,]    1    0
[2,]    0    1

Slot "gmat0":
     [,1] [,2]
[1,]    1    0
[2,]    0    1

Slot "det":
[1] 1


Slot "fig":
An object of class "PointPattern"
Slot "dimspace":
[1] 2

Slot "coord":
     [,1] [,2] [,3] [,4] [,5] [,6] [,7]
[1,] 0.05 0.15  0.0  0.1  0.2 0.05 0.15
[2,] 0.00 0.00  0.1  0.1  0.1 0.20 0.20


Slot "lmat":
     [,1]
[1,]    0
[2,]    0

An object of class "FigLat"
Slot "vlat":
An object of class "VecLat"
Slot "dimspace":
[1] 2

Slot "dimsupp":
[1] 2

Slot "gmat":
     [,1] [,2]
[1,]    1    0
[2,]    0    1

Slot "gmat0":
     [,1] [,2]
[1,]    1    0
[2,]    0    1

Slot "det":
[1] 1


Slot "fig":
An object of class "PointPattern"
Slot "dimspace":
[1] 2

Slot "coord":
     [,1] [,2] [,3] [,4] [,5] [,6] [,7]
[1,] 0.00 0.00  0.1  0.1  0.1 0.20 0.20
[2,] 0.05 0.15  0.0  0.1  0.2 0.05 0.15


Slot "lmat":
     [,1]
[1,]    0
[2,]    0

pgs documentation built on May 29, 2017, 5:30 p.m.