Learn R Programming

ssdtools (version 2.3.0)

subset.fitdists: Subset fitdists Object

Description

Select a subset of distributions from a fitdists object. The Akaike Information-theoretic Criterion differences are calculated after selecting the distributions named in select.

Usage

# S3 method for fitdists
subset(x, select = names(x), delta = Inf, ...)

Arguments

x

The object.

select

A character vector of the distributions to select.

delta

A non-negative number specifying the maximum absolute AIC difference cutoff. Distributions with an absolute AIC difference greater than delta are excluded from the calculations.

...

Unused.

Examples

Run this code
fits <- ssd_fit_dists(ssddata::ccme_boron)
subset(fits, c("gamma", "lnorm"))

Run the code above in your browser using DataLab