
Plot of the survival function
plot.survival_function.RdConstructs the plot of the survival function of an object of the
survival_function class.
Usage
# S3 method for survival_function
plot(x, ...)Arguments
- x
A numeric vector representing the dataset.
- ...
Additional arguments to be passed to the ggplot function.
Examples
survival_weibull <- survival_function(dweibull)
plot(survival_weibull(0:10, shape = 2, scale = 1))