I have data as follows:
library(estimatr) DF <- structure(list(country = c("C", "C", "C", "C", "J", "