Learn R Programming

RSEIS (version 4.2-4)

setstas: Set Station information

Description

Read station information and set in list

Usage

setstas(stafile)

Value

LIST

name

character, station name

lat

numeric, decimal degrees

lon

numeric, decimal degrees

z

numeric, decimal degrees

Arguments

stafile

character, station file name path

Author

Jonathan M. Lees<jonathan.lees.edu>

Details

reads in ASCII data file.

Examples

Run this code
data(GH)

tsta = GH$stafile

tfile = tempfile()

write.table(file=tfile, tsta, row.names=FALSE, col.names=FALSE )

sta <- setstas(tfile)

Run the code above in your browser using DataLab