to_string: Export a tibble with the parameters fits for this model

View source: R/to_string.R

to_stringR Documentation

Export a tibble with the parameters fits for this model

Description

This functions extracts a tibble reporting the parameters fits for the input model (clusters, means of clusters, dispersion, likelihood score, cluster sizes etc.).

Usage

to_string(x)

Arguments

x

An object of class bmix that represents a fit.

Value

A 'tibble' for the statistcis.

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)

to_string(x)

caravagn/BMix documentation built on May 10, 2022, 7:41 p.m.