replaceInList: Replace items in nested list

replaceInListR Documentation

Replace items in nested list

Description

Replace items in nested list

Usage

replaceInList(x, FUN, ...)

Arguments

x

list

FUN

function to operate on list

...

pass through parameters

Value

list

Examples

 x <- list(list(NA, NULL, NULL), list("a", "b", "c"))
# test <- Refinitiv:::replaceInList(x, function(x)if(is.null(x))NA else x)

GreenGrassBlueOcean/RefinitivR documentation built on Feb. 1, 2024, 1:37 a.m.