| forget | R Documentation |
This function takes a function of the form f(x, ret) and forgets the ret part returning a function of the form g(x).
forget(f)
f |
a function of the form |
a function of the form f(x).
Matteo Provenzano
http://www.alephdue.com
compose
# forget the FUN part in lapply to.list <- forget(lapply) # returns the list of the natural numbers from 1 to 10 to.list(1:10)