Print to screen some information about the mixture.

# S3 method for bmix
print(x, ...)

Arguments

x

A bmix object.

...

S3 parameters.

Value

Nothing, just print to screen some information about the mixture.

Examples

# The same dataset used in the package vignette data = data.frame(successes = c(rbinom(30, 100, .4), rbinom(70, 100, .7)), trials = 100) # BMix fit with default parameters x = bmixfit(data)
#>
#> ── BMix fit ────────────────────────────────────────────────────────────────────
#>
#> Binomials k_B = 1 and 2, Beta-Binomials k_BB = 0; 4 fits to run.
#>
#> Bmix best fit completed in 0 mins
#>
#> ── [ BMix ] My BMix model n = 100 with k = 2 component(s) (2 + 0) ──────────────
#> • Clusters: π = 70% [Bin 1] and 30% [Bin 2], with π > 0.
#> • Binomial Bin 1 with mean = 0.695850479301058.
#> • Binomial Bin 2 with mean = 0.409340966792.
#> Score (model selection): ICL = 744.46.
print(x)
#> ── [ BMix ] My BMix model n = 100 with k = 2 component(s) (2 + 0) ──────────────
#> • Clusters: π = 70% [Bin 1] and 30% [Bin 2], with π > 0.
#> • Binomial Bin 1 with mean = 0.695850479301058.
#> • Binomial Bin 2 with mean = 0.409340966792.
#> Score (model selection): ICL = 744.46.