Skip to contents

Plot Method for an 'acdf' Object

Usage

# S3 method for class 'acdf'
plot(x, ci_level = 0.95, color = 2, col_line = 1, ...)

Arguments

x

An object of class acdf. Typically the output of the calc_cdf function.

ci_level

A numeric vector of confidence levels to plot (e.g., c(0.5, 0.95)). Defaults to 0.95.

color

The color for the confidence interval polygon (CDF) and error bars (density).

col_line

The color for the CDF line and density points.

...

Additional arguments passed to the base plot function (e.g., main, xlab, ylab, ylim).

Value

A plot of the CDF.

See also