Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plotPD

Plots a calibrated PD of a single date, or SPD of multiple dates, or multiple SPDs


Description

Generates a basic plot of the Probability Distribution of calibrated date, or Summed Probability Distribution of multiple calibrated dates, or multiple SPDs such as a data frame of phases.

Usage

plotPD(x)

Arguments

x

A data frame comprising row names of calendar years and optional column names. For example a one-column dataframe generated by summedCalibrator or a multi-column dataframe generated by phaseCalibrator

Details

Presents the probability density as a grey polygon.

Examples

data <- data.frame(age=c(9144),sd=c(151))
	CalArray <- makeCalArray(intcal20,calrange=c(8000,13000))
	cal <- summedCalibrator(data, CalArray)
	plotPD(cal)

ADMUR

Ancient Demographic Modelling Using Radiocarbon

v1.0.3
GPL-3
Authors
Adrian Timpson [aut, cre] (<https://orcid.org/0000-0003-0292-8729>)
Initial release
2021-03-19

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.