#' Construct a single row summary "glance" of a model, fit, or other object
# S3 method for ml_analysis glance(x, ...)
x | model or other R object to convert to single-row data frame |
---|---|
... | other arguments passed to methods |
Returns a tibble specifying the number of parameters (df), log-likelihood (logLik), Akaike's Information Criterion (AIC) and whether or not the model converged.
See the following help topics for more details about individual methods:ml
glance.ml_analysis
: ml_analysis
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