| fitverse_summary | R Documentation |
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.
## S3 method for class 'fitverse'
summary(object, top_n = 10L, ...)
## S3 method for class 'fitverse_summary'
print(x, ...)
object |
A |
top_n |
Integer: number of rows to show in the ranking table.
Default |
x |
A |
... |
Ignored. |
An object of class "fitverse_summary", a list with components:
objectThe original fitverse object.
top_nThe number of rows requested.
data_summaryData summary list (or NULL).
rankingData frame with the top top_n rows of the
ranking table.
print.fitverse_summary returns x invisibly.
Karuna G. Reddy karuna.reddy@auckland.ac.nz
M. G. M. Khan mgm.khan@usp.ac.fj
fitverse, print.fitverse,
ranking, all_fits
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.