just keep vibing. Apply a function to each element of a vector
Arguments
- .x
a list or atomic vector
- .f
function to apply
- ...
arguments passed to .f
- .progress
show progress bar?
Examples
{
z <- list(x = 1:5, y = 6:10)
vibing(z, mean)
}
#> $x
#> [1] 3
#>
#> $y
#> [1] 8
#>