km_fun {bonsaiforest} | R Documentation |
Helper Function to get Kaplan-Meier Estimate
Description
Helper Function to get Kaplan-Meier Estimate
Usage
km_fun(resp, status, data, times)
Arguments
resp |
(string ) the response variable name.
|
status |
(string ) only for "survival" resptype ,
the status variable name in survival data.
|
data |
(data.frame ) data to use.
|
times |
(numeric ) time points to use.
|
Value
Numeric vector with Kaplan-Meier estimates at times
.
[Package
bonsaiforest version 0.1.0
Index]