Learn R Programming

admix (version 2.4.2)

plot.twoComp_mixt: 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 twoComp_mixt
plot(x, add_plot = FALSE, ...)

Value

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

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.