replaceInList | R Documentation |
Replace items in nested list
replaceInList(x, FUN, ...)
x |
list |
FUN |
function to operate on list |
... |
pass through parameters |
list
x <- list(list(NA, NULL, NULL), list("a", "b", "c"))
# test <- Refinitiv:::replaceInList(x, function(x)if(is.null(x))NA else x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.