plot_mixture_contour: Plotting mixing distribution contours.

Description Usage Arguments Value

View source: R/plot_mixture_contour.R

Description

This function plots contours of the estimated mixing distributions and adds the true beta values for comparison if available.

Usage

1
2
3
4
5
6
7
plot_mixture_contour(
  mean_est,
  weight_est,
  cov_est,
  beta_true = NULL,
  cov_names = NULL
)

Arguments

mean_est

A list of length C, where each element is a vector of two estimated class means.

weight_est

A numeric vector of length C with estimated class weights.

cov_est

A list of length C, where each element is an estimated class covariance matrix.

beta_true

Either NULL or a matrix of C rows with true beta values.

cov_names

Either NULL or a vector of two covariate names.

Value

No return value. Draws a plot to the current device.


RprobitB documentation built on Nov. 12, 2021, 5:08 p.m.