powered by
check if a data.frame has any non-finite elements
isfinitedataframe(obj)
any object
TRUE if "x" is finite, FALSE if "x" is not finite
# NOT RUN { date <- c("02/2009","02/2010","02/2011","02/2012") x <- c(1,2,3,4) test <- data.frame(x,date) isfinitedataframe(test) isfinitedataframe(x) # }
Run the code above in your browser using DataLab