0 0 practice503 Asked: January 18, 20222022-01-18T11:30:59+05:30 2022-01-18T11:30:59+05:30In: Data Science Write an R program to change a column name of a given data frame. 0 0 Write an R program to change a column name of a given data frame. data science using r Share Facebook 1 Answer Voted Oldest Recent I'M ADMIN 2022-01-18T12:17:34+05:30Added an answer on January 18, 2022 at 12:17 pm data1 =data.frame( subject = c("C++", "PYTHON", "IOT", "DBMS", "DS"), mark= c(78,67,89,98,88) ) print(data1) #change column name "mark to NEW_MARKS" names(data1)[2] <- 'NEW_MARKS' data1 Leave an answerCancel replyYou must login to add an answer. Username or email* Password* Remember Me! Forgot Password?
1 Answer