powered by
Data from Weeks & Williams example 2
data_weeks2
An object of class data.frame with 62 rows and 3 columns.
data.frame
A dataframe with 3 treatment factors. The treatment combinations form 4 disconnected groups.
Note: This data is based on Table 3 of Weeks & Williams. The groups defined in the text are missing some combinations.
library(lfe) cbind(data_weeks2, .group=con_check(data_weeks2, ~f1 + f2 + f3))
Run the code above in your browser using DataLab