compact: Compact a list

View source: R/utils.R

compactR Documentation

Compact a list

Description

Remove all NULL entries from a list.

Usage

compact(l)

Arguments

l

A list.

Source

This function is derived from the plyr::compact() function. The function is defined separately in prettyGraphics to reduce reliance on non-default packages.


edwardlavender/prettyGraphics documentation built on Jan. 19, 2025, 2:47 p.m.