fix_censor_col: Recode censoring / event column

Description Usage Arguments Value

View source: R/survival_fit.R

Description

Recode censoring / event column

Usage

1
fix_censor_col(this_data, this_censor_col, censor_code, event_code, file_name)

Arguments

this_data

data set

this_censor_col

the column to change

censor_code

code for censoring

event_code

code for events

file_name

the name of the file this came from, in case it's needed for an error message

Value

the same data set, with the column recoded


MattWiener/heemodFits documentation built on May 19, 2019, 8:21 a.m.