Displaying 1 result from an estimated 1 matches for "tp3480739p3480739".
2011 Apr 28
2
changing a specific column name
...;Species"
ind <- which(names(d)=='Species')
ind
[1] 5
colnames(d[ind])
[1] "Species"
colnames(d[ind]) <- 'new name'
colnames(d[ind])
[1] "Species"
--
View this message in context: http://r.789695.n4.nabble.com/changing-a-specific-column-name-tp3480739p3480739.html
Sent from the R help mailing list archive at Nabble.com.