Answers for "how to check if a value is na in r"

1

check for nan in r list

# is.na() can handle lists
# is.nan() can handle only one variable at a time

is.na(NaN)
# TRUE

is.na(NA)
# TRUE
Posted by: Guest on November-20-2020

Browse Popular Code Answers by Language