mercredi 26 août 2020

How to make a condition if is a number in r?

I wanna make a condition in R like, if in a dataframe a value isn't a number change that value for NA, but if is a number let it like the original value. Someone knows how can I do this?

Thanks.

Aucun commentaire:

Enregistrer un commentaire