rm_null | R Documentation |
rm
for listsRemove NULL
or list(NULL)
objects recursively from a list.
rm_null(x, rm_list = TRUE)
x |
a list |
rm_list |
logical; if |
https://stackoverflow.com/q/26539441/2994949
l <- list(list(NULL), list(1), list('a', NULL))
l
rm_null(l)
rm_null(l, FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.