grab_fun_par()
grabs all parameters defined in a function. It's
particularly useful when you need to pass all parameters from one function
to another (e.g., using do.call()
).
Credits: Function adapted from B. Christian Kamgang's contribution in a Stack Overflow discussion.
Value
A list
containing the parameters of the function
from which it was called.