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 = NULL, ylab = NULL,
  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. Default: f [d-1]" "f [cycles per day]"

ylab

y-label of plot. Default: |F(x)|, or Arg(F(x)) when argument=TRUE

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>


tomjscox/GPPFourier documentation built on May 3, 2019, 2:57 p.m.