PlotPredictSurvFit {morseTKTD} | R 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 |
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 |
... |
Further arguments to be passed to generic methods |
Value
an object of class ggplot
, see function ggplot
[Package morseTKTD version 0.1.3 Index]