Learn R Programming

FedData (version 4.2.0)

replace_null: Replace NULLs

Description

Replace all the empty values in a list

Usage

replace_null(x)

Value

A list with NULLs replaced by NA

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