mercredi 12 juillet 2017

R: how to use if myValue.is.na?

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
    }

Aucun commentaire:

Enregistrer un commentaire