ExtractTreatment.Rd
This function takes a raw ERA dataset and determines set differences (practices in the experimental but not the control treatment) and
commonalities (practices shared by experimental and control treatments) for each row of the data. Control h
codes are removed from the comparison.
ExtractTreatment(Data, cores, N.Cols)
Two columns are appended to Data
:
plist
= a list of practice codes in the experimental treatment not in the control treatment.
base.list
= a vector of practice codes shared by the experimental and control treatments, codes are concatenated with a -
delimiter.
In the raw dataset treatment practice codes are recorded in T
columns (e.g., T1
,T2
, etc.) for the experimental condition and C
columns
for the control condition.