If element="boundary"
, the slot boundary
of
object
will be exported as a shapefile.
Otherwise, the slot clusters
, merged with the slot rings
,
will be exported.
See as.data.frame()
for details on the use of the parameters of N
,
R
et clusters.only
.
format
specifies the export format of the data frame returned by
as.data.frame()
:
"shp" | Shape File |
"dbf" | DBASE format |
"txt" | tabulated text |
"csv" | 'comma separated values' |
"csv2" | CSV variant using a semicolon as field separator |
ext
could be used to coerce the extension of the output file,
except for shapefile export, which will write four different files
(.shp, .shx, .dbf and .prj).
The "txt" format uses by default a tabulation as field separator and
a point "." for decimal point.
The "csv" format uses a comma "," as field separator and
a point "." as decimal point.
The "csv2" format is a variant using a semicolon ";" as field separator and
a colon "," for decimal point,
the Excel convention for CSV files in some Western European locales.
sep
and dec
could be used to coerce the field separator and
the decimal point (together with the "txt" format).