plotStats | R Documentation |
getStats
Plot the output from getStats
plotStats(out.getStats, labels = NULL, ...)
out.getStats |
list output from |
labels |
labels to print on the boxplot. Default is |
... |
additional arguments as passed to |
plots boxplots summarizing output of cv.survclust
calculated via getStats
.
Use this to pick optimal k
. Optimal k
maximized logrank and minimizes SPWSS similar to the elbow
method. Use consensus_summary
to pick the best k
and arrive at unique consolidated class labels
a plot with three boxplots summarizing logrank, standardized pooled within sum of squares (SPWSS) and if any class label has less than 5 samples
Arshi Arora
library(survClust)
ss_stats <- getStats(uvm_survClust_cv.fit, kk=7, cvr=10)
plotStats(ss_stats, 2:7)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.