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 Sept 25
is_logical_0(integer_object)
An object of class integer
A logical
# NOT RUN { a <- integer() is_logical_0(a) is_logical_0(1) a <- integer() is_logical_0(a) is_logical_0(TRUE) # }
Run the code above in your browser using DataLab