PlotPredictSurvFit: Plotting method for 'SurvPredict' objects

PlotPredictSurvFitR Documentation

Plotting method for SurvPredict objects

Description

This is the generic plot S3 method for the SurvPredict class. It plots concentration-response fit under target time survival analysis.

Usage

## S3 method for class 'SurvPredict'
plot(
  x,
  xlab = "Time",
  ylab = "Number of Survival",
  main = "Survival Probability with 95% Credible Interval",
  background_concentration = FALSE,
  add_legend = FALSE,
  ...
)

Arguments

x

an object of class SurvPredict

xlab

argument for the label of the x-axis

ylab

argument for the label of the y-axis

main

argument for the title of the graphic

background_concentration

Binary. If TRUE (default is FALSE), it print the background exposure profile.

add_legend

add legend to the plot, default is FALSE

...

Further arguments to be passed to generic methods

Value

an object of class ggplot, see function ggplot


morseTKTD documentation built on June 8, 2025, 10:28 a.m.