Description Usage Arguments Author(s) See Also Examples
area2dxf
exports a data frame of class area
in a DXF file. Such
files can be read by virtually all Geographic Information Systems.
1 |
x |
an object of class |
file |
a character string giving the name of the DXF file to be created |
lay |
an optional vector with a length equal to the number of
polygons in |
Clement Calenge clement.calenge@oncfs.gouv.fr
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
## Loads the dataset elec88 from the package ade4
data(elec88)
ar <- as.area(elec88$area)
area.plot(ar, values=elec88$tab[,1])
## exportation of the election results toward a dxf file
area2dxf(ar, file = "Dept", lay = elec88$tab[,1])
## Removes the file
file.remove("Dept.dxf")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.