transmute r code example
Example: transmute r
#drop existing columns, create newColumn1 & newColumn2, keep columns3
df %>%
transmute(newColumn1 = x,
newColumn2 = y,
columns3 = columns3)
#drop existing columns, create newColumn1 & newColumn2, keep columns3
df %>%
transmute(newColumn1 = x,
newColumn2 = y,
columns3 = columns3)