# NOT RUN {
f_to_event_table_wf_v2(id='patientids',start='entry_age',stop='exit_age',
outcome='leukaemia',data,times=data[,11:30],doses=data[,31:50],
covars=data[,c('sex','country','birthcohort')])
# }
Run the code above in your browser using DataLab