powered by
Generate a regular grid of polygons and optionally write them on a file for input to califlopp
califlopp
generPoly(step = 5, np = 10, file = "data", plot = TRUE)
An object of class "listpoly"
"listpoly"
Step of grid, in meter.
Number of polygons on each axis.
Pathname of the polygons file to be created. If NULL, no file created.
If TRUE, plot of the polygons.
When file is not NULL, a polygons file is created. It is in the format 2 of califlopp and the values separator is tabulate.
file
"listpoly-class", plot.listpoly
"listpoly-class"
plot.listpoly
a <- generPoly(np=3, file=NULL)
Run the code above in your browser using DataLab