getSignCorrection {deducorrect} | R Documentation |
workhorse for correctSigns
Description
Workhorse for correctSigns
Usage
getSignCorrection(r, A1, C1, eps, A2, C2, epsvec, flip, swap, w, swapIsOneFlip,
maxActions, maxCombinations)
Arguments
r |
The numerical record to correct |
A1 |
Equality matrix |
C1 |
Constant vector for equalities |
eps |
Tolerance for equality-checking |
A2 |
Inequality matrix |
C2 |
Constant vector for inequalities |
epsvec |
Vector to check against. ( |
flip |
indices in |
swap |
|
w |
weight vector of |
swapIsOneFlip |
logical. If |
maxActions |
Maximum number of |
maxCombinations |
the maximum number of flip/swap combinations to try. See the description in |
Value
a list containing
S | n x length(r) array with corrected versions of r |
weight | vector of length n with total weight for each solution |
nFlip | number of sign flips for every solution |
nSwap | number of value swaps for every solution |
See Also
[Package deducorrect version 1.3.7 Index]