make.link               package:stats               R Documentation

_C_r_e_a_t_e _a _L_i_n_k _f_o_r _G_L_M _F_a_m_i_l_i_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     This function is used with the 'family' functions in 'glm()'.
     Given the name of a link, it returns a link function, an inverse
     link function, the derivative dmu/deta and a function for domain
     checking.

_U_s_a_g_e:

     make.link(link)

_A_r_g_u_m_e_n_t_s:

    link: character or numeric; one of '"logit"', '"probit"',
          '"cloglog"', '"identity"', '"log"',  '"sqrt"',  '"1/mu^2"',
          '"inverse"', or (deprecated) a non-negative number, say
          lambda resulting in 'power' link mu ^ lambda. Also
          (deprecated) a string like '"power(0.5)"' to indicate a call
          to 'power'. 

_V_a_l_u_e:

     A object of class '"link-glm"', a list with components 

 linkfun: Link function 'function(mu)'

 linkinv: Inverse link function 'function(eta)'

  mu.eta: Derivative 'function(eta)' dmu/deta

valideta: 'function(eta)'{ 'TRUE' if 'eta' is in the domain of
          'linkinv' }.

    name: a name to be used for the link

     .

_S_e_e _A_l_s_o:

     'power', 'glm', 'family'.

_E_x_a_m_p_l_e_s:

     utils::str(make.link("logit"))

