https://github.com/DoubleML/DoubleMLReplicationCode/blob/9320dccbb8a81583c16498d1b7c66a3949fbc949/Code/doubleml_codechunks.R#L246-L251