QQcxLat2: Generator of 2D quincunx lattices of quadrats

Description Usage Arguments Value See Also Examples

View source: R/pgs.R

Description

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

Usage

1
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

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

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