mv_cox: Multivariable Logistic Regression

Description Usage Arguments Value Examples

View source: R/mv_cox.R

Description

Multivariable Logistic Regression

Usage

1
mv_cox(data, time, event, x, direction = "no", summary = TRUE, ...)

Arguments

data

data

time

time variable

event

event variable

x

variable names for univariable logistic regression. If missing, it will be column names of data except y and adjust

direction

direction for stepwise regression. Four options: no, backward, forward and both. Defaulted is no

summary

logical. Whether to return summary results. TRUE as defaulted

...

arguments passed to step() function.

Value

multivariable logistic regression results

Examples

1
2
3
mv_cox(data = mtcars,
    time = 'qsec',event = 'am',
    direction = 'both')

fastStat documentation built on Jan. 13, 2021, 7:32 a.m.

Related to mv_cox in fastStat...