dput(head(mydata, 10)[c("year", "crop", "emissionskgco2eqha1", "pesticides", "crmburned", "crmincorporated", "crmremoved", "crmexported", "inorganicf", "organicf")])
structure(list(year = c(2012, 2012, 2012, 2012, 2012, 2012, 2012,
2012, 2012, 2012), crop = c("Millet", "Millet", "Millet", "Millet",
"Millet", "Millet", "Millet", "Millet", "Millet", "Millet"),
emissionskgco2eqha1 = c(323, 331, 326, 330, 0, 502, 311,
324, 490, 342), pesticides = c(0, 0, 0, 0, 0, 0, 0, 0, 0,
0), crmburned = c(0, 100, 0, 100, 0, 0, 0, 0, 0, 0), crmincorporated = c(25,
0, 100, 0, 0, 0, 30, 20, 0, 100), crmremoved = c(0, 0, 0,
0, 0, 100, 0, 0, 70, 0), crmexported = c(0, 0, 0, 0, 0, 0,
0, 0, 0, 0), inorganicf = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
organicf = c(0, 0, 2, 3, 0, 2, 4, 5, 7, 5)), row.names = c(NA,
10L), class = c("tbl_df", "tbl", "data.frame"))
i want to plot a Difference in Difference estimator plot.