Cannot flexibly combine pivot_longer
value column names from .value
sentinels
#1488
Labels
pivot_longer
value column names from .value
sentinels
#1488
I'd like to combine the column names of a
pivot_longer
output that was set up with multiple.value
sentinels in a custom way. For instance, I'd like the below to have the value column namesx_A
, andx_B
. At the moment, it seems that the two.value
s just get concatenated and becomexA
, andxB
. Maybe aglue
call can be added so that I could donames_to = c(".value", "set", "_{.value}")
?Created on 2023-03-02 with reprex v2.0.2
Session info
The text was updated successfully, but these errors were encountered: