Deductive correction methods for sign, rounding and typing errors It also contains functionality to check if a matrix of linear restrictions is totally unimodular. See also
correctRounding
correctTypos
deducorrect-object
and status
for output specification
isTotallyUnimodular
deduImpute
solSpace
, imputess
deductiveZeros
deductiveLevels
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | require(editrules)
# some data
dat <- data.frame(
x = c( 3, 14, 15),
y = c(13, -4, 5),
z = c(10, 10,-10))
dat
# ... which has to obey
E <- editmatrix("z == x-y")
# All signs may be flipped, no swaps.
correctSigns(E, dat)
correctTypos(E, dat)
correctRounding(E, dat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.