plotF: Plot amplitude or argument of Fourier transform of a time...

Description Usage Arguments Value Author(s)

View source: R/FourierFunctions.R

Description

Plot amplitude or argument of Fourier transform of a time series

Usage

1
2
plotF(x, dt = 1, units = "days", xlab = "f [cycles per day]",
  ylab = "|F(x)|", detrend = FALSE, add = FALSE, argument = FALSE, ...)

Arguments

x

Time series

dt

Time time interval, used to calculate frequencies

units

Time unit, default = "days"

xlab

x-label of plot

ylab

y-label of plot

detrend

If TRUE, series is detrended first. Default=FALSE

add

If TRUE, plot is added to existing plot

argument

If TRUE, plot the argument in stead of the modulus

...

Arguments passed to plot()

Value

A plot of the amplitude of the Fourier transform, calculated with fft(). No zero-padding or tapering is performed.

Author(s)

Tom Cox <tom.cox@uantwerp.be>


GPPFourier documentation built on Sept. 22, 2017, 5:06 p.m.