powered by
An optimised version of lapply for the special case of operating on seq_len(n)
seq_len(n)
loop_apply(n, f, env = parent.frame())
length of sequence
function to apply to each integer
environment in which to evaluate function