plot.reslr_input {reslr}R Documentation

Plot raw data with measurement uncertainty.

Description

In this function, the raw data is plotted with grey uncertainty boxes representing the uncertainty associated with the input and the output. The function allows the user to plot the proxy record data and tide gauge data together or separately.

Usage

## S3 method for class 'reslr_input'
plot(
  x,
  title = "",
  xlab = "Year (CE)",
  ylab = "Relative Sea Level (m)",
  plot_tide_gauges = FALSE,
  plot_proxy_records = TRUE,
  plot_caption = TRUE,
  ...
)

Arguments

x

An object created via the function reslr_load

title

Title of the plot

xlab

Labeling the x-axis

ylab

Labeling the y-axis

plot_tide_gauges

Plotting the tide gauge data with the proxy records

plot_proxy_records

Plotting the proxy records on their own and this is the default

plot_caption

Plotting an informed caption with the number of tide gauges and proxy sites.

...

Not used

Value

Plot of the raw data with the measurement uncertainty.

Examples


full_dataset <- reslr_load(NAACproxydata)
plot(full_dataset)

[Package reslr version 0.1.1 Index]