Learn R Programming

pgs (version 0.4-0)

FigLat: Generator of FigLat objects

Description

Create an object of class "FigLat" representing a lattice of figures.

Usage

FigLat(d, vlat, fig, lmat = matrix(0, nrow = d, ncol = 1))

Arguments

d
the dimension of the space where the lattice of figures lies.
vlat
a VecLat-class object representing the (translation) vector lattice.
fig
a Figure-class object representing the figure.
lmat
a matrix generating the $L$ vector subspace.

Value

A FigLat-class object.

Examples

Run this code
# Square lattice of quadrats 
FigLat(2,RectLat2(),Quadrat(.5,.5))
# Lattice of horizontal lines
FigLat(2,VecLat(c(0,1)),PointPattern(rep(0,2)),lmat=c(1,0))

Run the code above in your browser using DataLab