View source: R/plotting.geoChronR.R
plotTimeseriesEnsLines | R Documentation |
Plot an ensemble timeseries as a set of lines. Useful for displaying a handful of ensemble members to characterize individual paths.
plotTimeseriesEnsLines(
add.to.plot = ggplot(),
X,
Y,
alp = 0.2,
color = "blue",
n.ens.plot = 100,
na.rm = TRUE
)
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) |
A ggplot object
Nick McKay
Other plot:
plotChron()
,
plotChronEns()
,
plotChronEnsDiff()
,
plotCorEns()
,
plotHistEns()
,
plotLine()
,
plotModelDistributions()
,
plotPcaEns()
,
plotPvalsEnsFdr()
,
plotRegressEns()
,
plotScatterEns()
,
plotScreeEns()
,
plotSpectraEns()
,
plotSpectrum()
,
plotSummary()
,
plotSummaryTs()
,
plotTimeseriesEnsRibbons()
,
plotTimeseriesStack()
,
plotTrendLinesEns()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.