plotTrendLinesEns: Plot an ensemble of trendlines

View source: R/plotting.geoChronR.R

plotTrendLinesEnsR Documentation

Plot an ensemble of trendlines

Description

Plot an ensemble of trendlines based on slope and intercept.

Usage

plotTrendLinesEns(
  mb.df,
  x.range,
  index.xy = 1:nrow(mb.df),
  alp = 0.2,
  color = "red",
  add.to.plot = ggplot()
)

Arguments

mb.df

A data.frame of slopes (column 1) and intercepts (column 2)

x.range

range of x values (min and max)

index.xy

index of which observations to use

alp

Line transparency

color

color of the lines

add.to.plot

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

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(), plotTimeseriesEnsLines(), plotTimeseriesEnsRibbons(), plotTimeseriesStack()

Other regress: plotRegressEns(), plotScatterEns(), regress(), regressEns()


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