Skip to contents

Visualizes the aligned Robbins–Monro scale and reliability trajectories stored in a sac_result.

Usage

# S3 method for class 'sac_result'
plot(x, type = c("both", "trajectory", "c", "rho"), ...)

Arguments

x

A sac_result object from sac_calibrate().

type

Character. One of "both", "trajectory", "c", or "rho". "trajectory" is an alias for "c".

...

Additional arguments (currently unused).

Value

A ggplot object if ggplot2 is available for type = "c" or type = "rho". For type = "both", a patchwork object is returned when patchwork is available; otherwise both plots are printed and returned invisibly in a list. Without ggplot2, base R graphics are drawn and NULL is returned invisibly.