all_fits: Extract All Individual Fit Results from a Fitted Object

View source: R/s3_methods.R

all_fitsR Documentation

Extract All Individual Fit Results from a Fitted Object

Description

Retrieves the list of per-distribution fit results stored inside a fitverse object. Each element corresponds to one model that was attempted during the fitting process.

Usage

all_fits(object, ...)
## S3 method for class 'fitverse'
all_fits(object, ...)

Arguments

object

A fitverse object.

...

Passed to methods.

Value

A named list of fit results, one per distribution attempted.

Author(s)

Karuna G. Reddy karuna.reddy@auckland.ac.nz
M. G. M. Khan mgm.khan@usp.ac.fj

See Also

fitverse, ranking, summary.fitverse

Examples


  set.seed(1)
  x    <- rgamma(200, shape = 2, rate = 0.5)
  fit  <- fitverse(x)
  fits <- all_fits(fit)
  length(fits)


FitVerse documentation built on Dec. 1, 2026, 1:07 a.m.