derive_followup_date: Calculate follow up date from event_date and censor_date...

View source: R/derive_functions.R View source: R/derive_followup_date.R

derive_followup_dateR Documentation

Calculate follow up date from event_date and censor_date columns

Description

Calculate follow up date from event_date and censor_date columns

Calculate follow up date from event_date and censor_date columns

Usage

derive_followup_date(
  data = NULL,
  event_date = NULL,
  censor_date = "censor_date"
)

derive_followup_date(
  data = NULL,
  event_date = NULL,
  censor_date = "censor_date"
)

Arguments

data

dataframe. A one-row-per-patient dataframe.

event_date

character. The name of a column in data indicating event dates.

censor_date

character. The name of a date column in data indicating censor dates.

Value

dataframe.

dataframe.


ndphillips/iwillsurvive documentation built on June 4, 2024, 3 p.m.