write.catalogue {ssBase}R Documentation

Write Catalogue to a Text File

Description

Writes an earthquake catalogue within the library to an ASCII file.

Usage

write.catalogue(x, file=paste(deparse(substitute(x)), ".txt", sep = ""),
                ignore=FALSE, append=FALSE)

Arguments

x name of the earthquake catalogue.
file required name of the ASCII file. By default, it will have the same name as the catalogue with “.txt” appended.
ignore if TRUE, do not print negative signs on latitudes. Default is FALSE.
append if TRUE and the ASCII file already exists, the catalogue will be appended to the end of the file, otherwise the contents of the file are overwritten. Default is FALSE.

Value

NULL

Side Effects

Writes an ASCII file as described above.

Examples

data(NZ55)
write.catalogue(NZ55, file="temp.txt")

[Package ssBase version 2.2-1 Index]