View source: R/plotting.geoChronR.R
plotTrendLinesEns | R Documentation |
Plot an ensemble of trendlines based on slope and intercept.
plotTrendLinesEns(
mb.df,
x.range,
index.xy = 1:nrow(mb.df),
alp = 0.2,
color = "red",
add.to.plot = ggplot()
)
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() . |
A ggplot object
Nick McKay
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.