is.list() Function: Check If an Object is List in R
The is.list() function in R checks if an input object is a list. It returns TRUE if an object is a list and FALSE otherwise. This function checks if an object itself is a list, not the elements of the list. For example, if a list has vector and data frames, it is still a … Read more