Answers for "infinite in r"

R
0

infinite in r

# Creating a vector 
x <- c(1, 2, Inf, 4, -Inf, 6, NA) 
  
# Calling is.infinite() function 
is.infinite(x)

# F F T F T F T
Posted by: Guest on February-11-2021

Browse Popular Code Answers by Language