plot_fct: Plotting the fitted distribution with ECOFF

Description Usage Arguments Value

View source: R/EM_Gauss.R

Description

This function plotts a histogram of the data and the fitted mixing distribubion of normals. Furthermore, the Ecoff value is plotted by a line.

Usage

1
plot_fct(y, mu, sigma2, pi, ecoff)

Arguments

y

A data vector with observed values per bin

mu

A vector with values for mu

sigma2

A vector with values for the variance

pi

A vector with values for the mixing proportions

ecoff

a numeric value of the ECOFF value

Value

a plot of the fitted distribution


sp2019-antibiotics/emGauss documentation built on Nov. 5, 2019, 9:14 a.m.