Learn R Programming

ADMUR (version 1.0.3)

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

Run this code
# NOT RUN {
	data <- data.frame(age=c(9144),sd=c(151))
	CalArray <- makeCalArray(intcal20,calrange=c(8000,13000))
	cal <- summedCalibrator(data, CalArray)
	plotPD(cal)
	
# }

Run the code above in your browser using DataLab