pluck_survival_analysis | R Documentation |
Allows access to the analyse_survival
result object.
pluck_survival_analysis(result, term)
result |
An object of class SurvivalAnalysisUnivariateResult
as returned by |
term |
The item to be retrieved:
|
object as specified by term
, or NULL if not contained in result
library(magrittr)
library(dplyr)
survival::aml %>%
analyse_survival(vars(time, status), x) %>%
pluck_survival_analysis("p") %>%
print
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.