write.grd: Write a SaTScan grd (grid) file

View source: R/write.R

write.grdR Documentation

Write a SaTScan grd (grid) file

Description

Write a SaTScan grd (grid) file

Usage

write.grd(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; .grd will be added.

userownames

If TRUE, will write the row names into the file.

Details

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.


rsatscan documentation built on Oct. 24, 2023, 5:08 p.m.