Plot a a single spectrum, with confidence limits (no age ensemble). Useful for comparison with plotSpectraEns() in cases of no age uncertainty (e.g. GCM output)
plotSpectrum(
spec.df,
cl.df = NULL,
x.lims = NULL,
x.ticks = c(10, 20, 50, 100, 200, 500, 1000),
y.lims = NULL,
color.line = "black",
color.cl = "red"
)list or dataframe containing frequency (freq) and power (pwr)
list or dataframe containing confidence limits (90, 95 and 99%) as well as frequency (freq)
range of plotted periodicities
ticks to mark on the period axis. if NULL, defaults to (10, 20, 50, 100, 200, 500, 1000)
2-vector for the y-axis. If NULL, computed from range(pwr)
color of the line representing the spectrum
color of the lines representing the confidence limits (90, 95, 99%)
a ggplot object
Other plot:
plotChron(),
plotChronEns(),
plotChronEnsDiff(),
plotCorEns(),
plotHistEns(),
plotLine(),
plotModelDistributions(),
plotPcaEns(),
plotPvalsEnsFdr(),
plotRegressEns(),
plotScatterEns(),
plotScreeEns(),
plotSpectraEns(),
plotSummary(),
plotSummaryTs(),
plotTimeseriesEnsLines(),
plotTimeseriesEnsRibbons(),
plotTimeseriesStack(),
plotTrendLinesEns()
Other spectra:
ar1Surrogates(),
computeSpectraEns(),
createSyntheticTimeseries(),
periodAnnotate(),
reverselog10_trans()