modarg function

Modify default arguments according to a named vector or list