Learn R Programming

salesforcer (version 1.0.1)

drop_empty_recursively: Remove all NULL or zero-length elements from list

Description

This function wraps the compact function to recursively remove elements from lists that contain no information.

Usage

drop_empty_recursively(x)

Arguments

x

list; a list to be cleaned.

Value

list containing no empty elements.