Learn R Programming

RSEIS (version 3.9-3)

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 = "")

Arguments

GH

List structure of seismic traces from RSEIS

sel

numeric index of one trace.

notes

character string of notes

Value

ts object

Details

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

Examples

Run this code
# NOT RUN {
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