papply

docblock
papply(x, f)

Apply the function f to each element of x. This is a generalization of apply2.

Arguments

  • x: an iterable collection.
  • f: a function with as many variables as there are elements in x.