plot_survival_curve | R Documentation |
Plots a sample of individual survival curves from the test data set.
plot_survival_curve(train_result, individual_id, curve_type = "both")
train_result |
return data object from 'spect_train' |
individual_id |
identifier of the individual to plot |
curve_type |
optional specification of the type of curve. Available options are "conditional", which plots the conditional probability of surviving each interval given that the individual survived to the start of that interval, "absolute" which plots the unconditional probability of surviving each interval, and "both", the default value, which plots both curves on the same chart. |
None - plots the number of requested samples
Stephen Abrams, stephen.abrams@louisville.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.