plotstats: Plot the output from 'getStats'

plotStatsR Documentation

Plot the output from getStats

Description

Plot the output from getStats

Usage

plotStats(out.getStats, labels = NULL, ...)

Arguments

out.getStats

list output from getStats

labels

labels to print on the boxplot. Default is 2:8

...

additional arguments as passed to boxplot function

Details

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

Value

a plot with three boxplots summarizing logrank, standardized pooled within sum of squares (SPWSS) and if any class label has less than 5 samples

Author(s)

Arshi Arora

Examples

library(survClust)
ss_stats <- getStats(uvm_survClust_cv.fit, kk=7, cvr=10)
plotStats(ss_stats, 2:7)


arorarshi/survClust documentation built on April 21, 2024, 1:51 p.m.