Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plotDes

desScore plotting


Description

Plot of an desScore object.

Usage

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.

See Also

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

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)

randomizeR

Randomization for Clinical Trials

v2.0.0
GPL (>= 3)
Authors
David Schindler [aut], Diane Uschner [aut, cre], Marcia Viviane Rueckbeil [ctb], Martin Manolov [ctb], Thi Mui Pham [ctb], Michael Martini [ctb], Ralf-Dieter Hilgers [aut, ths], Nicole Heussen [aut, ths]
Initial release
2019-11-15

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.