plotEv function

Evaluation plotting

Evaluation plotting

Plot of an evaluation object.

plotEv(evaluation, labels, cols)

Arguments

  • evaluation: object of type evaluation.
  • labels: labels used in the plot. Can be NULL.
  • cols: colors of the lines representing the desirability scores in the plot. Can be NULL.

Returns

A plot of an evaluation object

Examples

# compare Random Allocation Rule to Big Stick Design with respect to different issues # and their corresponding desirability functions issue1 <- corGuess("CS") issue2 <- chronBias(type = "linT", theta = 1/4, method = "exact") RAR <- getAllSeq(rarPar(4)) BSD <- getAllSeq(bsdPar(4, mti = 2)) A1 <- assess(RAR, issue1, issue2, endp = normEndp(c(0,0), c(1,1))) A2 <- assess(BSD, issue1, issue2, endp = normEndp(c(0,0), c(1,1))) d1 <- derFunc(TV = 0.5, 0.75, 2) d2 <- derFunc(0.05, c(0, 0.1), c(1, 1)) DesScore <- getDesScores(A1, d1, d2, weights = c(5/6, 1/6)) DesScore2 <- getDesScores(A2, d1, d2, weights = c(5/6, 1/6)) E <- evaluate(DesScore, DesScore2) plotEv(E)

See Also

Other desirability topics: derFunc, evaluate(), getDesScores(), plotDes(), probUnDes()

  • Maintainer: Ralf-Dieter Hilgers
  • License: GPL (>= 3)
  • Last published: 2023-09-18

Useful links