PhaseDurationPlot {ArchaeoPhases} | R Documentation |
This function draws the marginal posterior densities of the time elapsed between the minimum and the maximum of the dates included in a phase, and adds summary statistics (mean, CI)
PhaseDurationPlot(
PhaseMin_chain,
PhaseMax_chain,
level = 0.95,
title = "Duration of a group of dates",
colors = TRUE,
exportFile = NULL,
exportFormat = "PNG",
GridLength = 1024
)
PhaseMin_chain |
Numeric vector containing the output of the MCMC algorithm for the minimum of the events included in the phase. |
PhaseMax_chain |
Numeric vector containing the output of the MCMC algorithm for the maximum of the events included in the phase. |
level |
Probability corresponding to the level of confidence used for the credible interval and the time range. |
title |
Title of the plot. |
colors |
If |
exportFile |
Name of the file to be saved. If |
exportFormat |
Format of the export file, either "PNG" or "SVG". |
GridLength |
Length of the grid used to estimate the density. |
Plot of the density of the time elapsed between the minimum and the maximum calendar years of the events included in a phase, along with mean and credible interval
NULL
, called for its side effects
Anne Philippe, Anne.Philippe@univ-nantes.fr and
Marie-Anne Vibet, Marie-Anne.Vibet@univ-nantes.fr
data(Phases); attach(Phases)
PhaseDurationPlot(Phase.1.alpha, Phase.1.beta, 0.95, "Duration of Phase 1")
PhaseDurationPlot(Phase.2.alpha, Phase.2.beta, 0.95, "Duration of Phase 2", colors = FALSE)