powered by
When object is created by the codes x <- integer(); y <- list(); z <- logical(), and if the values is not substituted, then this function return TRUE. This function determine whether the value is assigned or not according to the object size.
x <- integer(); y <- list(); z <- logical()
TRUE
2020 Oct 6
is_length_zero(integer_object)
An object of class integer
A logical
# NOT RUN { a <- integer() is_length_zero(a) is_length_zero(1) a <- list() is_length_zero(a) is_length_zero(TRUE) # }
Run the code above in your browser using DataLab