I’d like to check if some variable is defined in R – without getting an error. How can I do this?

My attempts (not successful):

> is.na(ooxx)
Error: object 'ooxx' not found
> is.finite(ooxx)
Error: object 'ooxx' not found

Thanks!

7 Answers
7

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *