| alphaStar | R Documentation |
compute mean adjusted adherence, the recommended figure of merit for bayesCC
alphaStar(Results)
Results |
a list (the output from one completed run of bayesCC(...)) |
a vector of mean-adjusted adherences for the run, a.k.a. alphaStar
# see ?bayesCC
data(Results)
alphaStarDist <- data.frame(lapply(Results, alphaStar))
boxplot(alphaStarDist, main="Mean-adjusted adherence by number of clusters")
# add a violin plot
library(vioplot)
cols <- c("tomato","springgreen","darkorange","yellow")
for(i in seq_along(alphaStarDist)) {
vioplot(alphaStarDist[[i]], col=cols[i], at=i, add=TRUE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.