Learn R Programming

fastStat (version 1.4)

uv_logrank: Looping for logrank Regression

Description

Looping for logrank Regression

Usage

uv_logrank(data, time, event, variable, round = 3, order_by.p = TRUE)

Arguments

data

data

time

time variable

event

event variable

variable

variable names for logrank regression. If missing, it will be column names of data except y

round

digital round, 3 is defaulted

order_by.p

logical. TRUE, defaulted, means increasing order in p value

Value

logrank regression results

Examples

Run this code
# NOT RUN {
uv_logrank(data = mtcars,
    time = 'qsec',event = 'vs')
# }

Run the code above in your browser using DataLab