plot_km | R Documentation |
Plots a series of population Kaplan-Meier curves for different thresholds for both the test predictions and the ground truth
plot_km(train_result, prediction_threshold_search_granularity = 0.05)
train_result |
return data object from 'spect_train' |
prediction_threshold_search_granularity |
optional number between zero and one which defines the granularity of searching for cumulative probability thresholds. For instance, search a value of 0.05 will search 19 thresholds (0.05, 0.10, ..., 0.95) |
Data used to produce the KM curve and the passed granularity parameter. Also plots the KM curves.
Stephen Abrams, stephen.abrams@louisville.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.