View source: R/MixtureFitting.R
cmm_intersections | R Documentation |
Finds intersections of two Cauchy distributions by finding roots of a quadratic equation.
cmm_intersections( p )
p |
parameter vector of 6 parameters. Structure of p vector is p = c( A1, A2, mu1, mu2, gamma1, gamma2 ), where Ai is the proportion of i-th component, mui is the location of i-th component, gammai is the Cauchy scale of i-th component. |
A vector of x values of intersections (zero, one or two). Returns NaN if both distributions are identical.
Andrius Merkys
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.