plot: S3 plotting functions

plotR Documentation

S3 plotting functions

Description

These functions overload base::plot() to provide simple plotting routines to display various time-series and scenario objects.

Usage

## S3 method for class 'cvasi_drc'
plot(x, y, scale_x = c("auto", "log10", "none"), ...)

## S3 method for class 'cvasi_simulate'
plot(x, y, ...)

## S3 method for class 'lik_profile'
plot(x, y, ...)

plot_lik_profile(x)

Arguments

x

object to plot

y

unused parameter

scale_x

character, controls how the x-axis is scaled. log10 for a log10-scaled axis, none for no scaling, and auto for automatic selection

...

unused parameters

Value

(ggplot2) plot object

Methods (by class)

  • plot(cvasi_drc): Plot dose response curves

  • plot(cvasi_simulate): Plot return value of simulate()

  • plot(lik_profile): Plot likelihood profiles.

Functions

  • plot_lik_profile(): Alias of plot.lik_profile() for backwards-compatibility.


cvasi documentation built on Sept. 11, 2025, 5:11 p.m.