vaccine {DOVE} | R Documentation |
This function is used in the model statement of dove() to specify the vaccination time, vaccination status, and entry time.
vaccine(entry_time, vaccination_status, vaccination_time)
entry_time |
The variable for the time when the participant enters the trial. |
vaccination_status |
The variable indicating the vaccination status: 1 = vaccinated; 0 = not vaccinated. |
vaccination_time |
The variable for the time when vaccination takes place. |
This function is intended to be used only in the model statement of dove(). The result, a matrix, is used internally.