View source: R/km_type_weights.R
prepare_cohort | R Documentation |
<Private function> Prepare the skeleton cohort for subsequent steps.
prepare_cohort( cohort, t_start_name, t_name, y_name, match_var_names, print_message = TRUE )
cohort |
Cohort data with at least the following information on each
subject: start time (if not 0 for all subjects) and end time of follow-up,
censoring status and matching variables (if any). A |
t_start_name |
Name of the variable in |
t_name |
Name of the variable in |
y_name |
Name of the column of censoring status in each matched set in
|
match_var_names |
Name(s) of the match variable(s) in |
print_message |
Whether to print the message regarding start and exit
time. Default is |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.