Skip to contents

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

Usage

# S3 method for 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

Xavier Milhaud xavier.milhaud.research@gmail.com