drop_null | R Documentation |
NULL
Drop list elements with value NULL
drop_null(x)
x |
See:
drop_null.list()
(list) Cleaned list
x <- list( foo = list(bar = NULL, baz = list(x = 1, y = NULL, z = 3)), bar = 2, baz = NULL ) drop_null(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.