calc_risk_times: Calculate Risk Times

calc_risk_timesR Documentation

Calculate Risk Times

Description

calc_risk_times calculates the risk times for each patient based on the given window lengths

Usage

calc_risk_times(
  df,
  end_time_col,
  curr_time_col,
  window_length,
  window_normalizer,
  col_name
)

Arguments

df

the input dataframe

end_time_col

column containing the final time value a patient had data for

curr_time_col

column containing the time value that the row of data was collected

window_length

lenghts of the CPIU intervals in the model

window_normalizer

value to divide by

col_name

name you want the new column created to have


dshenker/RFSLAM documentation built on Sept. 18, 2022, 3:26 a.m.