Description Usage Arguments Value Note See Also
View source: R/treatmentassignment.R
Constructs a TreatmentAssignment object.
1 2 3 |
x |
(data frame) a mapping from (period, group) to treatment assignment condition. The data frame must have the columns 'period' (integer-valued), 'geo.group' (integer-valued, positive), and 'assignment' (integer-valued, one of 0, 1, -1), Each row specifies the mapping of one (period, group) pair. No missing values are allowed. |
An object of class 'TreatmentAssignment'.
Not used in the analysis methods, only for
SetSpendChange<-
.
DefaultTreatmentAssignment
generates the default treatment
assignment condition, which assigns a change ('some intervention') to Period
1 of group 2.
TreatmentAssignment
, SetSpendChange<-
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.