50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

anchoredDistr (version 1.0.3)

plotMAD: Plot the data contained in MADproject object slots.

Description

plot plots the data contained in various slots of the provided MADproject. If no specific slot is specified, all slots that can be plotted will be.

Usage

plotMAD(x, y)

# S4 method for MADproject,ANY plotMAD(x)

# S4 method for MADproject,character plotMAD(x, y)

Arguments

x

The MADproject object

y

character string from the following options: "observations", "realizations", "priors", or "posteriors"

Methods (by class)

  • x = MADproject,y = ANY: Plots all available slots in the MADproject object

  • x = MADproject,y = character: Plots the y slot in the MADproject object

Details

All plots utilize ggplot2 plotting functions. The slots that can be plotted are priors, observations, realizations, and posteriors.

Examples

Run this code
data(pumping)
plotMAD(pumping, "realizations")
plotMAD(pumping, "priors")
plotMAD(pumping, "posteriors")
plotMAD(pumping)


Run the code above in your browser using DataLab