I have the following dataframe
edge Phone new buy
0 0 0 1
0 0 0 1
0 0 0 1
0 0 0 1
I wish to replace the ones with "yes" and Two's's with No. I have tried the following
DF[,1:4][DF[,1:4]==0]<-'NO'
That does not work.