View source: R/CalculationFunctions.R
applyRAS | R Documentation |
Integrate pre-adjustment of t_r, t_c and t (tolerance level) with RAS function.
applyRAS(m0, t_r, t_c, relative_diff, absolute_diff, max_itr)
m0 |
A matrix object. |
t_r |
A vector setting the target row sums of the matrix. |
t_c |
A vector setting the target column sums of the matrix. |
relative_diff |
A numeric value setting the relative difference of the two numerical vectors. |
absolute_diff |
A numeric value setting the mean absolute difference of the two numerical vectors. |
max_itr |
A numeric value setting the maximum number of iterations to try for convergence. Defualt: 1000000. |
A RAS balanced matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.