plotDes | R Documentation |
Plot of an desScore
object.
plotDes(desScore, labels, colAv = "red", quantiles = FALSE)
desScore |
object of type |
labels |
labels used in the plot. Can be |
colAv |
color of the line representing the average of the desirability scores in the plot. |
quantiles |
|
a plot of an desScore
object
Other desirability topics:
derFunc
,
evaluate()
,
getDesScores()
,
plotEv()
,
probUnDes()
# compute the desirability scores of the full set of PBR(4)
sequences <- getAllSeq(rarPar(4))
issue1 <- corGuess("CS")
issue2 <- chronBias("linT", 1/4, "exact")
endp <- normEndp(mu = c(0,0), sigma = c(1,1))
A <- assess(sequences, issue1, issue2, endp = endp)
d1 <- derFunc(0.5, 0.75, 1)
d2 <- derFunc(0.05, 0.1, 1)
D <- getDesScores(A, d1, d2)
summary(D)
plotDes(D)
plotDes(D, quantiles = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.