plot.twoComp_mixt: Plots several mixture densities on the same graph

View source: R/twoComp_mixt.R

plot.twoComp_mixtR Documentation

Plots several mixture densities on the same graph

Description

Plots the empirical densities of the samples with optional arguments to improve the visualization.

Usage

## S3 method for class 'twoComp_mixt'
plot(x, add.plot = FALSE, ...)

Arguments

x

Object of class 'twoComp_mixt' from which the density will be plotted.

add.plot

(default to FALSE) Option to plot another mixture distribution on the same graph.

...

further classical arguments and graphical parameters for methods plot and hist.

Value

a plot with the densities of the samples provided as inputs.

Author(s)

Xavier Milhaud xavier.milhaud.research@gmail.com


admix documentation built on June 8, 2025, 9:32 p.m.