Learn R Programming

RSurvey (version 0.4.5)

srvy.export: Export Spatially Distributed Data

Description

This function exports survey data.

Usage

srvy.export(file = NULL)

Arguments

file
either a character string naming a file or a connection.

Value

  • The output of srvy.export is dependent on the file type chosen within the file management pop up dialog box. Choosing a file type of *.txt writes the contents of data.mod to a file, whereas a choice of *.tin writes the contents of data.tin to a file.

See Also

write.table

Examples

Run this code
data(confluence)
f <- paste(getwd(), "/test.txt", sep="")
con <- file(f, open = "w", encoding = "latin1")
srvy.export(file = con)

Run the code above in your browser using DataLab