gplot.mtm.ftest: Plot F-test results from 'spec.mtm'

Description Usage Arguments Value Examples

View source: R/mtm_plots.R

Description

Attractive ggplot2 plot of spec.mtm F-test output

Usage

1
2
gplot.mtm.ftest(mspec, uci = 0.95, period = F, trans = c("identity",
  "log10", "sqrt"))

Arguments

mspec

spec.mtm output ("Ftest = TRUE" )

uci

upper confidence interval to highlight in plot

period

display F-test against period, rather than frequency, if TRUE

trans

apply a transform to the spectral power; defaults to no transform

Value

a ggplot2 object

Examples

1
2
3
s <- ts( sin( 2 * pi * 1:512 / 32 ) + rnorm( 512 ), deltat = 1 )
mspec <- spec.mtm( s, Ftest = TRUE, plot = FALSE )
mtm.ftest( mspec )

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