Description Usage Arguments Value Examples
This function organize an input data set ef, same as f_to_event_table_ef_all but with start,stop and outcome from the formula
1 | f_to_event_table_ef_v2(id, start, stop, outcome, data, times, doses, covars)
|
id |
name of variable containing the names of subjects |
start |
name of the variable containing the start time |
stop |
name of the variable containing the stop time |
outcome |
name of the variable containging the outcome |
data |
input data set |
times |
name of the time variable |
doses |
name of the dose variable |
covars |
names of the covars required later in the model |
The data set with the event-row format, including the event of exit of the cohort
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.