lapply_depth | R Documentation |
Very simple replacement for purrr::map_depth to remove package dependency, but not very robust. Internal package use only in select cases.
lapply_depth(.x, .depth, .f, ...)
.x |
[list] List to apply function to |
.depth |
[integer] Depth to apply function at |
.f |
[function] Function to apply |
... |
[any] Additional arguments to pass to .f |
[list] List with function applied at target depth
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.