Plot creates an age model plot with all the bells and whistles, including a spread of ensemble members, probability distributions, and a few example ensemble members.
plotChronEns(
L,
age.var = "ageEnsemble",
depth.var = "depth",
chron.number = NA,
model.num = NA,
probs = c(0.025, 0.25, 0.5, 0.75, 0.975),
x.bin = NA,
y.bin = NA,
n.bins = 100,
color.low = "white",
color.high = "grey70",
alp = 1,
color.line = "Black",
line.width = 1,
add.to.plot = ggplot2::ggplot(),
n.ens.plot = 5,
color.ens.line = "red",
alp.ens.line = 0.7,
dist.alp = 0.3,
dist.type = "violin",
dist.color = "purple",
dist.thick = 0.1,
dist.scale = 0.02,
truncate.dist = NA,
add.paleo.age.depth = FALSE,
paleo.number = NA,
meas.num = NA,
color.line.paleo = "cyan",
plot.traces = TRUE
)
A LiPD object - an R serialization of a single LiPD file. It's a list, and is typically created by `readLipd()`
ariableName to use for age ensemble ("ageEnsemble" by default)
variableName to use for depth ("depth" by default)
chron.numData object to use (NA by default, will ask if needed)
chron.numData model to use (NA by default, will ask if needed)
quantiles to calculate and plot
vector of bin edges over which to bin.
vector of bin edges over which to bin.
number bins over which to calculate intervals. Used to calculate x.bin if not provided.
Band color of the outer most band.
Band color of the inner most band.
Transparency of the band plot
Line color (following ggplot rules)
Width of the line
A ggplot object to add this plot to. Default is ggplot() .
Number of ensemble members to plot
color of the ensemble lines
transparency of the lines
alpha of the distribution
"violin" (default), "up" for one-sided distributions pointed up, "down" for one-sided distributions pointed down
distribution color (following ggplot rules)
thickness of the line around the distribution
controls the vertical span of the probability distribution. Approximately the vertical fraction of the plot that the distribution will cover.
truncate probability density values below this number. NA (default) means no truncation
add a line that shows the paleoData age depth.
paleo.num number for the paleoData age-depth
which measurement Table for the paleoData age-depth
line color of the paleoData age-depth (following ggplot rules)
Add timeseries lines to the plot (default = TRUE)
A ggplot object
Other plot:
plotChron()
,
plotChronEnsDiff()
,
plotCorEns()
,
plotHistEns()
,
plotLine()
,
plotModelDistributions()
,
plotPcaEns()
,
plotPvalsEnsFdr()
,
plotRegressEns()
,
plotScatterEns()
,
plotScreeEns()
,
plotSpectraEns()
,
plotSpectrum()
,
plotSummary()
,
plotSummaryTs()
,
plotTimeseriesEnsLines()
,
plotTimeseriesEnsRibbons()
,
plotTimeseriesStack()
,
plotTrendLinesEns()
Other chron:
plotChron()
,
plotChronEnsDiff()
,
plotModelDistributions()