Displaying 1 result from an estimated 1 matches for "n_wrfta".
2012 May 31
1
please help! Extract the row to the new file by using if-statment
...oupC_rain<- new[wrfta>= 180 & wrfta<= 255,]
#save as ...
write.csv(groupA_norain,"groupA_norain.csv")
write.csv(groupB_norain,"groupB_norain.csv")
.....
however, it gets error message. what wrong?
Warning message:
In if (n_wrfrain < a) groupA_norain <- new[n_wrfta >= 255 | n_wrfta <= :
the condition has length > 1 and only the first element will be used
my data wrfrain contains NA. what can I do?!
please help!
--
View this message in context: http://r.789695.n4.nabble.com/please-help-Extract-the-row-to-the-new-file-by-using-if-statment-tp463195...