cox_uni: Automation of univariable Cox PH analysis

View source: R/cox_uni.R

cox_uniR Documentation

Automation of univariable Cox PH analysis

Description

Automation of univariable Cox PH analysis

Usage

cox_uni(
  data,
  event,
  eventtime,
  vars,
  p.cut = 0.05,
  round = 3,
  digits = 1,
  nsmall = 3,
  print.result = F
)

Arguments

data

a dataframe to be used

event

a event variable

eventtime

eventtime variable

vars

predictors

p.cut

P-value cut-off

round

round value

digits

digits

nsmall

nsmall

print.result

print the name of significant vairables

Value

data.frame


nephroj/medutils documentation built on Feb. 3, 2024, 8:33 a.m.