Skip to contents

Main plotting method for fb4_result objects. Automatically detects available data and provides appropriate visualizations.

Usage

# S3 method for class 'fb4_result'
plot(x, type = "dashboard", save_plot = NULL, ...)

Arguments

x

Object of class fb4_result

type

Type of plot: "dashboard", "growth", "consumption", "temperature", "energy", "uncertainty", "sensitivity"

save_plot

Optional path to save plot (.png or .pdf)

...

Additional arguments passed to specific plot functions

Value

Invisibly returns the input object

Examples

if (FALSE) { # \dontrun{
plot(result)                          # Dashboard
plot(result, type = "growth")         # Growth trajectory
plot(result, type = "uncertainty")    # If MLE/bootstrap/hierarchical
plot(result, save_plot = "output.png")
} # }