PhasePlot {ArchaeoPhases} | R Documentation |
This function draws the marginal posterior densities of the minimum and the maximum of the events included in the phase and summary statistics including mean, credible interval, and time range. The result is given in calendar years (BC/AD).
PhasePlot(
PhaseMin_chain,
PhaseMax_chain,
level = 0.95,
title = "Characterisation 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 |
The 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. |
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)
PhasePlot(Phase.1.alpha, Phase.1.beta, level = 0.95, title = "Densities of Phase 1")