Learn R Programming

FedData (version 4.0.1)

replace_null: Replace NULLs

Description

Replace all the empty values in a list

Usage

replace_null(x)

Arguments

x

A list

Examples

Run this code
list(a = NULL, b = 1, c = list(foo = NULL, bar = NULL)) %>% replace_null()

Run the code above in your browser using DataLab