pluck_multivariate_analysis {survivalAnalysis} | R Documentation |
Access individual components of multivariate survival analysis
Description
Allows access to the analyse_multivariate
result object.
Usage
pluck_multivariate_analysis(result, term)
Arguments
result |
An object of class SurvivalAnalysisMultivariateResult
as returned by |
term |
The item to be retrieved:
|
Value
object as specified by term
, or NULL if not contained in result
Examples
library(magrittr)
library(dplyr)
survival::colon %>%
analyse_multivariate(vars(time, status),
vars(rx, sex, age, obstruct, perfor, nodes, differ, extent)) %>%
pluck_multivariate_analysis("p")
print
[Package survivalAnalysis version 0.3.0 Index]