periodAnnotate: Annotate plot of spectra with given periodicities

periodAnnotateR Documentation

Annotate plot of spectra with given periodicities

Description

Annotate plot of spectra (ensemble or otherwise) with vertical lines at specific periodicities (assumes log10 scaling)

Usage

periodAnnotate(
  specPlot,
  periods,
  color = "orange",
  log10scale = T,
  y.lims = NULL,
  size = 4
)

Arguments

specPlot

ggplot handle to figure containing spectrum

periods

the periods to highlight in the spectrum

color

the color of the text and lines

log10scale

Use a log 10 scale TRUE (default) or FALSE

y.lims

optionally specify y limits (default = NULL)

size

font size for labels (default = 4)

Value

ggplot object of spectrum plot

Author(s)

Julien Emile-Geay

See Also

Other plot help: AD2BP_trans(), BP2AD_trans(), axisLabel(), bin2d(), geoChronRPlotTheme(), getLegend(), getPlotRanges(), kde2d(), meltDistributionTable(), modeSelektor(), quantile2d(), reverselog10_trans()

Other spectra: ar1Surrogates(), computeSpectraEns(), createSyntheticTimeseries(), plotSpectrum(), reverselog10_trans()


nickmckay/GeoChronR documentation built on April 9, 2024, 5:26 a.m.