Learn R Programming

RSEIS (version 4.2-4)

rseis2ts: Convert RSEIS to TS

Description

Convert one trace from an RSEIS seismic list to a ts time-series object.

Usage

rseis2ts(GH, sel = 1, notes = "")

Value

ts object

Arguments

GH

List structure of seismic traces from RSEIS

sel

numeric index of one trace.

notes

character string of notes

Author

Jonathan M. Lees<jonathan.lees@unc.edu>

Details

Function extracts one trace and associated information from an RSEIS structure and returns a ts, time-series, object.

Examples

Run this code

data(GH)
H = rseis2ts(GH, 1, notes='Coso Trace 1')
plot(H)
title(main=attr(H, 'info')$notes)

Run the code above in your browser using DataLab