Remove display width attributes
To provide some mild support for round-tripping variables between SPSS
and R, haven stores display widths in an attribute: display_width
. If this
causes problems for your code, you can get rid of them with zap_widths
.
zap_widths(x)
x |
A vector or data frame. |
Other zappers:
zap_empty()
,
zap_formats()
,
zap_labels()
,
zap_label()
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.