Plot Cumulative Distribution Function
plot.cdf_function.Rd
This function plots the cumulative distribution function (CDF) of a given dataset.
Usage
# S3 method for cdf_function
plot(x, ...)
Arguments
- x
A numeric vector representing the dataset.
- ...
Additional arguments to be passed to the ggplot function.
Examples
cdf_weibull <- cdf_function(dweibull)
plot(cdf_weibull(0:10, shape = 2, scale = 1))