glance.CBEAout: Glance at 'CBEAout' object

View source: R/tidy_generics.R

glance.CBEAoutR Documentation

Glance at CBEAout object

Description

This function cleans up all diagnostics of the cbea method (from the CBEAout object) into a nice tibble::tibble()

Usage

## S3 method for class 'CBEAout'
glance(x, statistic, ...)

Arguments

x

An object of type CBEAout

statistic

What type of diagnostic to return. Users can choose to return fit_diagnostic which returns goodness of fit statistics for the different fitted distributions (e.g. log likelihoods) while fit_comparison returns comparisons across different distributions and raw values (and data) across the 4 l-moments.

...

Unused, kept for consistency with generics

Value

A tibble::tibble() summarizing diagnostic fits per set (as row)

Examples

# load the data
data(hmp_gingival)
mod <- cbea(hmp_gingival$data, hmp_gingival$set, abund_values = "16SrRNA",
    output = "sig", distr = "norm", adj = FALSE, n_perm = 5, parametric = TRUE)
glance(mod, "fit_diagnostic")

qpmnguyen/CBEA documentation built on April 4, 2022, 7:25 p.m.