Answers for "r: rename a column"

R
0

r: rename a column

colnames(df)[which(names(df) == "columnName")] <- "newColumnName"
Posted by: Guest on July-23-2020

Browse Popular Code Answers by Language