DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR R
r - change column name
colnames(df)[colnames(df) == "name"] <- "new_name"
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#change
#column
ADD COMMENT
Topic
COMMENT
Name
1+1 =
Submit