Basically, I am iterating through some values, some which may be NA. If it is NA, I'd like to set it to 0.
For example
if (myValue.is.na){
myValue=0
}
Basically, I am iterating through some values, some which may be NA. If it is NA, I'd like to set it to 0.
For example
if (myValue.is.na){
myValue=0
}