f_lapply | R Documentation |
Applies function to list of items.
f_lapply(l.input, f.input, mc.cores = NULL)
l.input |
List of items. |
f.input |
Function to apply to each item. |
mc.cores |
Number of cores (default: NULL) |
-
List of items that have been processed with said function.
Pieter Overdevest
l.output <- f_lapply(
l.input = list(1, 2, 3),
f.input = function(x) {x+2},
mc.cores = NULL
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.