Learn R Programming

Fgmutils (version 0.4)

isfinitedataframe: is finite data frame

Description

check if a data.frame has any non-finite elements

Usage

isfinitedataframe(obj)

Arguments

obj
any object

Value

  • TRUE if "x" is finite, FALSE if "x" is not finite

Examples

Run this code
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