ssd_plot_cdf: Plot Cumulative Distribution Function (CDF)

View source: R/plot-cdf.R

ssd_plot_cdfR Documentation

Plot Cumulative Distribution Function (CDF)

Description

Generic function to plots the cumulative distribution function (CDF).

Usage

ssd_plot_cdf(x, ...)

## S3 method for class 'fitdists'
ssd_plot_cdf(x, average = FALSE, delta = 7, ...)

## S3 method for class 'list'
ssd_plot_cdf(x, ...)

Arguments

x

The object.

...

Additional arguments passed to ssd_plot().

average

A flag specifying whether to model average the estimates.

delta

A non-negative number specifying the maximum absolute Akaike Information-theoretic Criterion difference cutoff. Distributions with an absolute difference from the best model greater than the cutoff are excluded.

Methods (by class)

  • ssd_plot_cdf(fitdists): Plot CDF for fitdists object

  • ssd_plot_cdf(list): Plot CDF for named list of distributional parameter values

See Also

ssd_plot()

estimates.fitdists() and ssd_match_moments()

Examples

fits <- ssd_fit_dists(ssddata::ccme_boron)
ssd_plot_cdf(fits)

ssd_plot_cdf(list(
  llogis = c(locationlog = 2, scalelog = 1),
  lnorm = c(meanlog = 2, sdlog = 2))
)

ssdtools documentation built on Sept. 8, 2023, 5:56 p.m.