Learn R Programming

RSEIS (version 3.5-2)

xtract.trace: Extract trace

Description

Extract one time series trace from an RSEIS data list

Usage

xtract.trace(GH, sel = 1, WIN = c(0, 1))

Arguments

GH
RSEIS list
sel
select trace index
WIN
time window on trace, relative to start

Value

vector
amplitudes

Details

An attribute of dt (sample time interval) is attached to the time series for use in plotting.

Examples

Run this code

data(GH)

x1  <- xtract.trace(GH, sel = 1, WIN = c(0, 1))
plot(x1, type='l')

Run the code above in your browser using DataLab