Learn R Programming

pgs (version 0.4-0)

QQcxLat2: Generator of 2D quincunx lattices of quadrats

Description

Create a FigLat-class object representing a planar quincunx lattice of quadrats.

Usage

QQcxLat2(d=1,dx=sqrt(2)*d,hq=dx/5,vq=hq)

Arguments

d
the distance between two neighbour diagonal locations. Default: 1.
dx
the distance between two neighbour horizontal locations. Default value: quincunx inside a square.
hq
the horizontal side length of the quadrat. Default: dx/5.
vq
the vertical side length of the quadrat. Default: hq.

Value

A FigLat-class object.

See Also

Generators FigLat, QcxLat2, Quadrat, other generators of 2D figure lattices PPHexLat2, PPQcxLat2, PPRectLat2, QHexLat2, QRectLat2, SHexLat2, SQcxLat2,SRectLat2, LLat2.

Examples

Run this code
print(QQcxLat2(d=1,hq=0.1))
plot(QQcxLat2(d=1,hq=0.5),xlim=c(0,3),ylim=c(0,3))

Run the code above in your browser using DataLab