link                  package:pgam                  R Documentation

_U_t_i_l_i_t_y _f_u_n_c_t_i_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     Apply the link function or its inverse to the argument.

_U_s_a_g_e:

     link(x, link = "log", inv = FALSE)

_A_r_g_u_m_e_n_t_s:

       x: vector containing the predictor

    link: string with the name of the link function

     inv: if 'TRUE' its inverse is applied

_D_e_t_a_i_l_s:

     This function is intended to port other link functions than
     log{()} to Poisson-Gamma Additive Models. For now, the only
     allowed value is '"log"'.

_V_a_l_u_e:

     Evaluated link function at 'x' values.

_N_o_t_e:

     This function is not intended to be called directly.

_A_u_t_h_o_r(_s):

     Washington Leite Junger wjunger@ims.uerj.br and Antonio Ponce de
     Leon ponce@ims.uerj.br

_R_e_f_e_r_e_n_c_e_s:

     Harvey, A. C., Fernandes, C. (1989) Time series models for count
     data or qualitative observations. Journal of Business and Economic
     Statistics, 7(4):407-417

     McCullagh, P., Nelder, J. A. (1989). Generalized Linear Models.
     Chapman and Hall, 2nd edition, London

_S_e_e _A_l_s_o:

     'pgam', 'formparser'

