Learn R Programming

mark (version 0.8.2)

remove_null: Remove NULL

Description

Remove NULL results from a list

Usage

remove_null(x)

Value

The list x without NULL

Arguments

x

A list

Examples

Run this code
x <- list(a = letters[1:5], b = NULL, c = complex(3))
x
remove_null(x)

Run the code above in your browser using DataLab