plotTimeseriesEnsLines: Plot an ensemble timeseries as a set of lines

View source: R/plotting.geoChronR.R

plotTimeseriesEnsLinesR Documentation

Plot an ensemble timeseries as a set of lines

Description

Plot an ensemble timeseries as a set of lines. Useful for displaying a handful of ensemble members to characterize individual paths.

Usage

plotTimeseriesEnsLines(
  add.to.plot = ggplot(),
  X,
  Y,
  alp = 0.2,
  color = "blue",
  n.ens.plot = 100,
  na.rm = TRUE
)

Arguments

add.to.plot

A ggplot object to add these lines to. Default is ggplot() .

X

A LiPD variable list to plot, including values, units, names, and more

Y

A LiPD variable list to plot, including values, units, names, and more

alp

Line transparency

color

Either 1) A line color (following ggplot rules) to use for all lines (e.g., "blue"), 2) An RColorBrewer pallette to repeat over the lines (e.g. "Blues") or 3) a vector specifying the color for all lines (e.g., c("red","white","blue"))

n.ens.plot

Whats the maximum number of lines to plot?

na.rm

Remove NAs from X and Y? Set to FALSE to preserve line breaks where data are missing. (default = TRUE)

Value

A ggplot object

Author(s)

Nick McKay

See Also

Other plot: plotChron(), plotChronEns(), plotChronEnsDiff(), plotCorEns(), plotHistEns(), plotLine(), plotModelDistributions(), plotPcaEns(), plotPvalsEnsFdr(), plotRegressEns(), plotScatterEns(), plotScreeEns(), plotSpectraEns(), plotSpectrum(), plotSummary(), plotSummaryTs(), plotTimeseriesEnsRibbons(), plotTimeseriesStack(), plotTrendLinesEns()


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