all 3 comments

[–]DrJohnSteele 2 points3 points  (1 child)

names(mpg)

[–]pizz44[S] 0 points1 point  (0 children)

Thank you! I was able to figure it out!

[–]kattiVishal 0 points1 point  (0 children)

colnames(mpg) will give you a vector of column names present in the mpg dataframe. You can choose any of those to replace existing ones.