fitverse_summary-class: Summary of a fitverse Object

fitverse_summaryR Documentation

Summary of a fitverse Object

Description

summary.fitverse returns an object of class "fitverse_summary" containing the best-fit results and a ranked table of all models fitted. Printing the object (via print.fitverse_summary) displays a formatted diagnostic report; assigning the result to a variable suppresses output.

Usage

## S3 method for class 'fitverse'
summary(object, top_n = 10L, ...)
## S3 method for class 'fitverse_summary'
print(x, ...)

Arguments

object

A fitverse object.

top_n

Integer: number of rows to show in the ranking table. Default 10.

x

A fitverse_summary object.

...

Ignored.

Value

An object of class "fitverse_summary", a list with components:

object

The original fitverse object.

top_n

The number of rows requested.

data_summary

Data summary list (or NULL).

ranking

Data frame with the top top_n rows of the ranking table.

print.fitverse_summary returns x invisibly.

Author(s)

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

See Also

fitverse, print.fitverse, ranking, all_fits

Examples


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

  # Assign without printing:
  s <- summary(fit)

  # Inspect individual components:
  head(s$ranking)
  s$data_summary$mean

  # Print explicitly:
  print(s)


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