apply_links function

Apply link functions for parameters in a formula or bmmformula