Description Usage Arguments Value Examples
Finds the lower and upper bounds of the phi function between an interval
1 2 | bounds_phi_function_mixG(weights, means, sds, beta,
lower = min(interval), upper = max(interval))
|
weights |
vector: weights of mixture Gaussian |
means |
vector: means of mixture Gassuan |
sds |
vector: st.devs of mixture Gaussian |
beta |
real value between 0 and 1 |
lower |
lower end of interval |
upper |
upper end of interval |
vector of lower and upper bound of phi-function between [lower, upper]
1 2 3 4 | curve(phi_function_mixG(x, weights = c(0.4, 0.6), means = c(-3, 9), sds = c(1,1), 1), from = -15, to = 20)
abline(v=c(-10, -2))
bounds <- bounds_phi_function_mixG(weights = c(0.4, 0.6), means = c(-3, 9), sds = c(1,1), beta = 1, lower = -10, upper = -2)
abline(h=c(bounds$fun_ubound, bounds$fun_lbound))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.