Turn an object into a tidy tibble
# S3 method for ml_analysis tidy(x, constant = FALSE, conf_level = 0.95, ...)
x | An object to be converted into a tidy |
---|---|
constant | A logical scalar specifying whether to include constant terms. |
conf_level | A number between 0 and 1 specifying the confidence level. |
... | Additional arguments to tidying method. |
A tibble::tibble()
with information about model components.
Returns a data.frame of the coefficient tables with their estimates, standard errors (sd), lower and upper confidence limits and surprisal values (svalue).
See the following help topics for more details about individual methods:ml
tidy.ml_analysis
: ml_analysis
nlist
tidy.nlists
: nlists
expr <- "sum(dnorm(len, mu, sigma, log = TRUE))" start <- list(mu = 20, sigma = 8) data <- datasets::ToothGrowth fitted <- ml_fit(expr, start, data = data)#> Error in UseMethod("pars"): no applicable method for 'pars' applied to an object of class "nlist"tidy(fitted)#> Error in UseMethod("tidy"): no applicable method for 'tidy' applied to an object of class "function"