gplot.filter: Plot short convolution filter

Description Usage Arguments Value Examples

View source: R/gplot.filter.R

Description

Attractive ggplot2 plot of short convolution filter coefficients

Usage

1
gplot.filter(h, type = c("centered", "causal", "symmetric"))

Arguments

h

a filter

type

one of "centered" (default), "causal" or "symmetric". If "centered" filter is shifted left to center on origin. If even length, it will extend further to the right of 0. If symmetric, h is assumed to provide only the time >= 0 coefficients. Negative time will be obtained by mirroring.

Value

a ggplot2 object

Examples

1
2
h <- fdfilter( 5 )
gplot.filter( h )

jrevenaugh/TSAUMN documentation built on Nov. 8, 2019, 2:20 p.m.