deleteNULLs | R Documentation |
Removes all NULL
elements from a list or vector.
deleteNULLs(x)
x |
A vector or list |
A copy of x
with NULL
values removed.
This function is internally used for simple lists and vectors. The behaviour for nested lists and vectors embedded in lists is not thoroughly tested.
Taken from a posting by Jim Holtman on the R-help mailing list, https://stat.ethz.ch/pipermail/r-help/2006-August/111896.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.