vaccine {DOVE}R Documentation

Specify Vaccination Variables and Entry Time

Description

This function is used in the model statement of dove() to specify the vaccination time, vaccination status, and entry time.

Usage

vaccine(entry_time, vaccination_status, vaccination_time)

Arguments

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.

Value

This function is intended to be used only in the model statement of dove(). The result, a matrix, is used internally.


[Package DOVE version 1.6 Index]