plot_km {spect} | R Documentation |
Plots a series of population Kaplan-Meier curves for different thresholds for both the test predictions and the ground truth
Description
Plots a series of population Kaplan-Meier curves for different thresholds for both the test predictions and the ground truth
Usage
plot_km(train_result, prediction_threshold_search_granularity = 0.05)
Arguments
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) |
Value
Data used to produce the KM curve and the passed granularity parameter. Also plots the KM curves.
Author(s)
Stephen Abrams, stephen.abrams@louisville.edu
[Package spect version 1.0 Index]