Skip to contents

A broom-style glance() method: a one-row summary of a gmm_fit with the regime, the component count and dimension, convergence, iteration count, and the regime's headline fit statistics. Available as generics::glance(fit) when the generics package is installed.

Arguments

x

A gmm_fit.

...

Ignored, for generic compatibility.

Value

A one-row data frame.

Examples

fit <- fit_proxymix(banana_target(), N = 2L, regime = "kld",
                    is_size = 1000L, max_iter = 10L, seed = 1L)
generics::glance(fit)
#>   regime n_components dim converged iterations      ess kld_final loglik_final
#> 1    kld            2   2      TRUE         10 706.9948 0.1123726           NA
#>   bic
#> 1  NA