plot.twoComp_mixt {admix}R 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


[Package admix version 2.4.2 Index]