plot.admix_model: Plot method for objects of class 'admix_model'

View source: R/admix_model.R

plot.admix_modelR Documentation

Plot method for objects of class 'admix_model'

Description

Plots the probability density function of the known component of the admixture model, where we recall that an admixture model has probability density function (pdf) l_i such that: l_i = p_i * f_i + (1-p_i) * g_i, with g_i the known component density. The unknown quantities are therefore p_i and f_i.

Usage

## S3 method for class 'admix_model'
plot(x, ...)

Arguments

x

An object of class 'admix_model'.

...

A list of additional parameters belonging to the default method.

Author(s)

Xavier Milhaud xavier.milhaud.research@gmail.com

Examples

plot(admix_model(knownComp_dist = "norm", knownComp_param = list("mean"=0, "sd"=1)))
plot(admix_model(knownComp_dist = "pois", knownComp_param = list("lambda"=1.5)))


admix documentation built on Sept. 9, 2025, 5:59 p.m.