Displaying 1 result from an estimated 1 matches for "change20082009".
2010 Jul 20
3
If help
..."Reduction"
[8,] "NoReduction" "NoReduction"
[9,] "NoReduction" "NoReduction"
[10,] "NoReduction" "NoReduction"
This is the code that I have written so far..
for (i in 1:nrow(change20082009))
if(change20082009[i,1]=='No Reduction' & change20082009[i,2]=='No Reduction') "){change20082009[i,3] <- 1} else
if(change20082009[i,1]=='No Reduction' & change20082009[i,2]=='Reduction'){change20082009[i,3] <- -1} else
if(change20082009[i,1]==...