Learn R Programming

RSEIS (version 4.2-4)

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

Value

vector

amplitudes

Arguments

GH

RSEIS list

sel

select trace index

WIN

time window on trace, relative to start

Author

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

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