check_vaccineff_inputs {vaccineff} | R Documentation |
make_vaccineff_data
This auxiliary function checks the correctness of the inputs
provided to make_vaccineff_data
.
check_vaccineff_inputs(
data_set,
outcome_date_col,
censoring_date_col,
vacc_date_col,
vacc_name_col,
vaccinated_status,
unvaccinated_status,
immunization_delay,
end_cohort,
match,
exact,
nearest,
take_first
)
data_set |
|
outcome_date_col |
Name of the column that contains the outcome dates. |
censoring_date_col |
Name of the column that contains the censoring date. NULL by default. |
vacc_date_col |
Name of the column(s) that contain the vaccine dates. |
vacc_name_col |
Name of the column(s) that contain custom vaccine
names for the vaccines (e.g. brand name, type of vaccine). If provided,
must be of the same length as |
vaccinated_status |
Status assigned to the vaccinated population.
Default is |
unvaccinated_status |
Status assigned to the unvaccinated population.
Default is |
immunization_delay |
Characteristic time in days before the patient is considered immune. Default is 0. |
end_cohort |
End date of the study. |
match |
|
exact |
Name(s) of column(s) for |
nearest |
Named vector with name(s) of column(s) for |
take_first |
|
This function does not return a value.