#' Construct a single row summary "glance" of a model, fit, or other object

# S3 method for ml_analysis
glance(x, ...)

Arguments

x

model or other R object to convert to single-row data frame

...

other arguments passed to methods

Details

Returns a tibble specifying the number of parameters (df), log-likelihood (logLik), Akaike's Information Criterion (AIC) and whether or not the model converged.

Methods

See the following help topics for more details about individual methods:ml

  • glance.ml_analysis: ml_analysis

Examples

expr <- "sum(dnorm(len, mu, sigma, log = TRUE))" start <- list(mu = 20, sigma = 8) analysis <- ml_fit(expr, start, data = datasets::ToothGrowth)
#> Error in UseMethod("pars"): no applicable method for 'pars' applied to an object of class "nlist"
glance(analysis)
#> Error in glance(analysis): object 'analysis' not found