Glance accepts a model object and returns a `tibble::tibble()`

with exactly one row of model summaries. The summaries are typically
goodness of fit measures, p-values for hypothesis tests on residuals,
or model convergence information.

Glance never returns information from the original call to the modeling
function. This includes the name of the modeling function or any
arguments passed to the modeling function.

Glance does not calculate summary measures. Rather, it farms out these
computations to appropriate methods and gathers the results together.
Sometimes a goodness of fit measure will be undefined. In these cases
the measure will be reported as `NA`

.

Glance returns the same number of columns regardless of whether the
model matrix is rank-deficient or not. If so, entries in columns
that no longer have a well-defined value are filled in with an `NA`

of the appropriate type.

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

## Arguments

x |
A `Rchoice` object returned from `Rchoice::Rchoice()` . |

... |
Additional arguments. Not used. Needed to match generic
signature only. **Cautionary note:** Misspelled arguments will be
absorbed in `...` , where they will be ignored. If the misspelled
argument has a default value, the default value will be used.
For example, if you pass `conf.lvel = 0.9` , all computation will
proceed using `conf.level = 0.95` . Additionally, if you pass
`newdata = my_tibble` to an `augment()` method that does not
accept a `newdata` argument, it will use the default value for
the `data` argument. |

## Value

A `tibble::tibble()`

with exactly one row and columns:

AICAkaike's Information Criterion for the model.

BICBayesian Information Criterion for the model.

dfDegrees of freedom used by the model.

logLikThe log-likelihood of the model. [stats::logLik()] may be a useful reference.

nobsNumber of observations used.

## Examples

#> Loading required package: Formula

#> Loading required package: maxLik

#> Loading required package: miscTools

#>
#> Attaching package: ‘miscTools’

#> The following objects are masked from ‘package:robustbase’:
#>
#> colMedians, rowMedians

#>
#> Please cite the 'maxLik' package as:
#> Henningsen, Arne and Toomet, Ott (2011). maxLik: A package for maximum likelihood estimation in R. Computational Statistics 26(3), 443-458. DOI 10.1007/s00180-010-0217-1.
#>
#> If you have questions, suggestions, or comments regarding the 'maxLik' package, please use a forum or 'tracker' at maxLik's R-Forge site:
#> https://r-forge.r-project.org/projects/maxlik/

#> # A tibble: 5 × 5
#> term estimate std.error statistic p.value
#> <chr> <dbl> <dbl> <dbl> <dbl>
#> 1 constant 6.01 4.64 1.30 0.195
#> 2 mpg -0.0957 0.134 -0.716 0.474
#> 3 hp -0.0244 0.0214 -1.14 0.253
#> 4 factor(cyl)6 -0.980 1.23 -0.797 0.426
#> 5 factor(cyl)8 -6.39 938. -0.00682 0.995

#> # A tibble: 1 × 5
#> logLik AIC BIC df nobs
#> <dbl> <dbl> <dbl> <dbl> <dbl>
#> 1 -7.30 24.6 31.9 NA 32