📅  最后修改于: 2022-03-11 14:58:48.947000             🧑  作者: Mango
#drop existing columns, create newColumn1 & newColumn2, keep columns3
df %>%
transmute(newColumn1 = x,
newColumn2 = y,
columns3 = columns3)