'How to rename complicated variable name in fixest etable

I'm wondering how to change a complex variable name with dict in etable in fixest package.

For example, I have a regression Y ~ x1 + x2:abs(x3):x4 and I'd like to change the name of x2:abs(x3):x4.

I have tried

etable(...,
dict = c(`x2:abs(x3):x4` = 'myvar')
)
etable(...,
dict = c("x2:abs(x3):x4" = 'myvar')
)
etable(...,
dict = c("x2*abs(x3)*x4" = 'myvar')
)

But no success. Is there a easy fix for this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source