plotHistEns: Plot an ensemble dataset as a histogram

plotHistEnsR Documentation

Plot an ensemble dataset as a histogram

Description

Plots ensemble data as a histogram

Usage

plotHistEns(
  ens.data,
  quantiles = c(0.025, 0.25, 0.5, 0.75, 0.975),
  bins = 50,
  add.to.plot = ggplot(),
  alp = 1,
  fill = "grey50",
  font.size = 10,
  add.labels = TRUE,
  line.labels = NA,
  label.vert.position = 0.1
)

Arguments

ens.data

A data.frame of values to plot as a histogram

quantiles

a vecctor of quantiles to add the histogram

bins

Number of bins in the histogram

add.to.plot

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

alp

transparency (between 0 and 1)

fill

fill color of the histogram, following ggplot rules

font.size

font size for the labels

add.labels

Label the quantiles?

line.labels

Labels for the quantiles lines

label.vert.position

Vertical position of the quantiles (from 0 to 1)

Value

A ggplot object

Author(s)

Nick McKay

See Also

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


nickmckay/GeoChronR documentation built on March 19, 2024, 8:47 p.m.