bacondecomp
bacondecomp copied to clipboard
Error occurs when there is too many controls in the equation
trafficstars
Hi, thanks for the great package. I am trying to use it to estimate an equation that includes controls for unit-specify trends. However, an error occurs when those controls are added. I'm pretty new to the R language, so I'm not completely sure about it. I think it is because of the 500 character cap of the as.character function used in the package. It breaks lines in language objects at 500 characters, and inserts newlines. The names of the control variables are altered because of that. e.g. "control" becomes "\n control"
Could you try renaming your control variables to single letter names?