Learn R Programming

IRISSeismic (version 1.0.5)

Stream-class: Class "Stream"

Description

A Stream object containing a list of Trace objects.

Arguments

Objects from the Class

Objects are typically created by calls to getDataselect.

Examples

Run this code
# Open a connection to IRIS DMC webservices
iris <- new("IrisClient")

starttime <- as.POSIXct("2012-01-24", tz="GMT")
endtime <- as.POSIXct("2012-01-25", tz="GMT")

# Get the waveform
st <- getDataselect(iris,"AK","PIN","","VEA",starttime,endtime)
min(st)
median(st)
mean(st)
max(st)
sd(st)
rms(st)
rmsVariance(st)

Run the code above in your browser using DataLab