Learn R Programming

rsatscan (version 0.3.9200)

write.geo: Write a SaTScan geo file

Description

Write a SaTScan geo file

Usage

write.geo(x, location, filename, userownames = FALSE)

Arguments

x
Your data frame.
location
Directory location where the file should be written
filename
Name for the output file in the OS; .geo extension will be added.
userownames
If TRUE, will write the row names into the file.

Details

Writes the input data frame to a file in the OS, using the .geo extension. Contents of the data frame should be only what you want SaTScan to see. This is a simple function that calls write.table, since SaTScan just needs ASCII files.