-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hello,
I have been trying to use the triplediff package. My command is:
att_gt <- ddd(
yname = "turnout",
tname = "year",
idname = "did",
gname = "year_no",
pname = "part_q",
xformla = ~cov1,
data = df,
control_group = "notyettreated",
base_period = "universal",
est_method = "dr"
)
Whatever I do, I cannot run the function because I always get this error message:
Error in `[.data.table`(small_groups, , treat) :
j (the 2nd argument inside [...]) is a single symbol but column name 'treat' is not found. If you intended to select columns using a variable in calling scope, please try DT[, ..treat]. The .. prefix conveys one-level-up similar to a file system path.
After some consultation, I believe this is not a mistake from my end, by possibly a bug in the package. Is that the case?
Thank you very much,
Netanel
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels