powered by
These methods test if an object x is empty.
x
is.empty(x)# S3 method for default is.empty(x)# S3 method for data.frame is.empty(x)
# S3 method for default is.empty(x)
# S3 method for data.frame is.empty(x)
An object to be tested.
TRUE if x is empty, FALSE otherwise.
TRUE
FALSE
as.empty in this package.
as.empty
# NOT RUN { is.empty(4) is.empty(c()) is.empty(new.env()) is.empty(character(0)) is.empty(list()) is.empty(integer(0)) is.empty(data.frame()) # }
Run the code above in your browser using DataLab