Apply a function to a vector

vec_map(.x, .f)

Arguments

.x

A vector

.f

A function

Value

A vector of the same size as `x`