powered by
Looping for logrank Regression
uv_logrank(data, time, event, variable, round = 3, order_by.p = TRUE)
data
time variable
event variable
variable names for logrank regression. If missing, it will be column names of data except y
digital round, 3 is defaulted
logical. TRUE, defaulted, means increasing order in p value
logrank regression results
# NOT RUN { uv_logrank(data = mtcars, time = 'qsec',event = 'vs') # }
Run the code above in your browser using DataLab