Remove NULL results from a list
remove_null(x)
x
A list
The list x without NULL
NULL
x <- list(a = letters[1:5], b = NULL, c = complex(3)) x remove_null(x)