Write a SaTScan grd (grid) file
write.grd(x, location, filename, userownames = FALSE)
Your data frame.
Directory location where the file should be written
Name for the output file in the OS; .grd will be added.
If TRUE, will write the row names into the file.
Writes the input data frame to the OS, using the .grd 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.