plotEv | R Documentation |
Plot of an evaluation
object.
plotEv(evaluation, labels, cols)
evaluation |
object of type |
labels |
labels used in the plot. Can be |
cols |
colors of the lines representing the desirability scores in the plot. Can be |
A plot of an evaluation
object
Other desirability topics:
derFunc
,
evaluate()
,
getDesScores()
,
plotDes()
,
probUnDes()
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.