conradbm/madmR

Default sensitivity returns 1 algorithm

Opened this issue · 2 comments

bug -- doesn't default to both algorithms

out <- sensitivity(maut_dm,
plotLabels = TRUE,
attr="PriceCost",
window=c(0.5,0.7))
out$Plot
However,
out <- sensitivity(maut_dm,
plotLabels = TRUE,
attr="PriceCost")
out$Plot
Illustrates both algorithms. So window is doing some unnecessary defaulting.

This actually could be justifiable since the window is too tight, it provides both algorithms for a wider window.

This could also be because there were literally no results found, I.e., no change means no points generated.

#bug -- window only returning MAUT
out <- sensitivity(maut_dm,
algs = "TOPSIS",
attr="PriceCost",
window=c(0.3, 0.7))

also only returning MAUT results