plotSimulationSummary: Plots a summary of the SPD simulation test

View source: R/functions.R

plotSimulationSummaryR Documentation

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)
	
	

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