ccp: Remove NULL List Elements

View source: R/utils.R

ccpR Documentation

Remove NULL List Elements

Description

Removes elements from a list that are equal to NULL.

Usage

ccp(x)

Arguments

x

'list'.

Value

List

Author(s)

J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center

Examples

d <- list("a", "b", NULL, "c")
d
d <- ccp(d)
d

inldata documentation built on Sept. 12, 2024, 9:34 a.m.