plotDes function

desScore plotting

desScore plotting

Plot of an desScore object.

plotDes(desScore, labels, colAv = "red", quantiles = FALSE)

Arguments

  • desScore: object of type desScore.
  • labels: labels used in the plot. Can be NULL.
  • colAv: color of the line representing the average of the desirability scores in the plot.
  • quantiles: logical whether the quantiles should be depicted in the plot.

Returns

a plot of an desScore object

Examples

# 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)

See Also

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

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

Useful links