[R] column name changes
    Kristi Glover 
    kristi.glover at hotmail.com
       
    Sun Jul 10 07:34:53 CEST 2016
    
    
  
Hi R user, 
I wanted to change a column name with new one  but it comes with "." where there was space. Is there any way to keep my formate with space?
Here what I found 
Images<-stack(imageA,imageB,imageC)
names(Images)[3]<-c("dif of AB")
head(Images)
It gives the column name of 3 as a "dif.of.AB", but I wanted to be "dif of AB"
I don't want to put the "." on the spaces.
Any suggestions?
Thanks
    
    
More information about the R-help
mailing list