Description Usage Arguments Examples
is_simple_list
check if object is a list,
while not being a data.frame. is_simple_vector
checks if object is a vector, while not being array,
matrix, list etc.
1 2 3 |
x |
an object. |
1 2 3 4 5 6 | is_simple_list(mtcars)
is_simple_list(list())
is_simple_list(as_lol(mtcars))
is_simple_vector(letters[1:10])
is_simple_vector(as.list(1:10))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.