plot_model_selection: Plot the grid of model selection for the mixture.

View source: R/plot_model_selection.R

plot_model_selectionR Documentation

Plot the grid of model selection for the mixture.

Description

This functions plots the score of each combination of parameters for this mixture.

Usage

plot_model_selection(x)

Arguments

x

An object of class bmix that represents a fit.

Value

A ggplot object.

Examples

# Simple dataset
data = data.frame(successes = c(rbinom(30, 100, .4), rbinom(70, 100, .7)), trials = 100)

# BMix fit
x = bmixfit(data, K.Binomials = 1:3, K.BetaBinomials = 1:3)

plot_model_selection(x)

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