Closed vedant-vohra closed 9 months ago
I'm runninng the following code:
devtools::install_github("kylebutts/didimputation") library(didimputation) library(fixest) library(ggplot2) # Load Data from did2s package data("df_het", package = "didimputation") setDT(df_het) es <- did_imputation( data = df_het, yname = "dep_var", gname = "g", tname = "year", idname = "unit", # event-study horizon = TRUE, pretrends = -5:-1 )
The error I get is:
Error in `[.data.table`(data, , `:=`(paste0("zz000wtr", e), ifelse(is.na(zz000event_time), : unused argument (env = list(e = e))
update to the data.table dev version!
I'm runninng the following code:
The error I get is: