mu_calc {SparseMDC} | R Documentation |
mu Calculator
Description
This function handles the calculations of the Mu Solver. This function
runs inside sparse_mdc
.
Usage
mu_calc(d, v, EQ, dim, x, nk, p1, p2, delta)
Arguments
d |
- The current condition. |
v |
- Relationship matrix, describing relationship between d-1 and d. |
EQ |
- Equality matrix specifying the number of following terms to which mu_d is equal. |
dim |
Total number of conditions, D. |
x |
- Matrix of mean values. |
nk |
- Vector with the number of samples in each dimension for this cluster. |
p1 |
- Penalties on mean size. |
p2 |
- Penalties on mean difference. |
delta |
Small term to ensure existance of solution. |
Value
A list containing two vectors containing the calculated values of mu_d | mu_d < mu_d-1 and mu_d | mu_d > mu_d-1 respecitively.
[Package SparseMDC version 0.99.5 Index]