plotPD: Plots a calibrated PD of a single date, or SPD of multiple...

View source: R/functions.R

plotPDR Documentation

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)
	

UCL/ADMUR documentation built on Sept. 14, 2023, 11:41 a.m.