cox_iter_cat: Making Cox PH models of multiple outcomes (categorical...

View source: R/cox_iter_cont.R View source: R/cox_iter_cat.R

cox_iter_catR Documentation

Making Cox PH models of multiple outcomes (categorical predictor variable)

Description

Making Cox PH models of multiple outcomes (categorical predictor variable)

Making Cox PH models of multiple outcomes (categorical predictor variable)

Usage

cox_iter_cat(
  data,
  outcome_list,
  main_predictor,
  adjusted_var = NULL,
  round = 4
)

cox_iter_cat(
  data,
  outcome_list,
  main_predictor,
  adjusted_var = NULL,
  round = 4
)

Arguments

data

a dataframe to be used

outcome_list

list of outcomes

main_predictor

main predictor variable

adjusted_var

variables list for adjustment

round

round

Value

data.frame object

data.frame object


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