convert_time_cols_to_binned: Take a dataframe, and convert its time column(s) to binned...

Description Usage Arguments Value

Description

Take a dataframe, and convert its time column(s) to binned versions.

Usage

1
convert_time_cols_to_binned(data, time_period, formula_lhs)

Arguments

data

A data.frame

time_period

Number for bin-unit

formula_lhs

The expression on the left-hand-side of the formula, which generates the 'Surv' object

Value

The data, with the relevant time-columns now binned.


jwdink/tidysurv documentation built on May 20, 2019, 6:24 a.m.