Learn R Programming

RSEIS (version 3.5-2)

filterstamp: Make Filter Stamp

Description

Create an text stamp describing a filter

Usage

filterstamp(fl=1/2, fh=10, type="BP")

Arguments

fl
vector, low frequency
fh
vector,high frequency
type
vector,type of filter

Value

stamps
text strings

Details

If the frequency is less than 1, the period is displayed. For now only 3 digits are displayed. If the first argument, fl, is a list the parameters are extracted from the list and the other arguments are ignored.

See Also

FILT.spread

Examples

Run this code

fl <- c(0.01, 2)
fh <- c(10, 20)
type <- "BP"
filterstamp(fl, fh, type)

FILT<-list(ON=TRUE, fl=1/2, fh=12, type="HP", proto="BU")
filterstamp(FILT)

FILT<-list(ON=TRUE, fl=1/2, fh=12, type="BP", proto="BU")
filterstamp(FILT)

FILT<-list(ON=TRUE, fl=1/2, fh=12, type="LP", proto="BU")
filterstamp(FILT)



Run the code above in your browser using DataLab