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

plotSimulationSummary

Plots a summary of the SPD simulation test


Description

Plots the SPD and confidence intervals of simulated SPDs, including regions outside the CI, the model, and 200 yr rolling mean.

Usage

plotSimulationSummary(summary, title=NULL, legend.x=NULL, legend.y=NULL)

Arguments

summary

A list of various objects generated by SPDsimulationTest

title

A string title for the plot. If NULL a summary is automatically generated. If no title is preferred, use title = ”.

legend.x

The x coordinate for the figure legend.

legend.y

The y coordinate for the figure legend.

Details

Default NULL for legend.x and legend.y will automatically add a legend, which may not be ideally placed to avoid overlapping other components of the plot. To remove the legend, simply place well outside the boundary.

Examples

summary <- SPDsimulationTest(data=SAAD, 
		calcurve=shcal20, 
		calrange=c(2500,14000), 
		pars=-0.0001674152, 
		type='exp')
	
	plotSimulationSummary(summary)

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.