W1.2                   package:drc                   R Documentation

_T_h_e _t_w_o-_p_a_r_a_m_e_t_e_r _W_e_i_b_u_l_l _f_u_n_c_t_i_o_n_s

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

     'W1.2' is the two-parameter Weibull function where the lower limit
     is fixed at 0 and the upper limit is fixed at 1, mostly suitable
     for binomial/quantal responses.

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

       W1.2(upper = 1, fixed = c(NA, NA), names = c("b", "e"), ...)
       
       W2.2(upper = 1, fixed = c(NA, NA), names = c("b", "e"), ...)

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

   upper: numeric value. The fixed, upper limit in the model. Default
          is 1.

   fixed: numeric vector. Specifies which parameters are fixed and at
          what value they are fixed.  NAs for parameter that are not
          fixed.

   names: a vector of character strings giving the names of the
          parameters. The default is reasonable.

     ...: additional arguments to be passed from the convenience
          functions.

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

     The two-parameter Weibull model is given by the expression

                    f(x) = exp(-exp(b(log(x)-e))).


     The function is asymmetric about the inflection point, that is the
     parameter exp(e).

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

     See 'weibull1'.

_N_o_t_e:

     This function is for use with the function 'drm'.

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

     Christian Ritz

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

     Related functions are 'W1.3', 'W1.4', 'weibull1' and 'weibull2'.

_E_x_a_m_p_l_e_s:

     ## Fitting a two-parameter Weibull model
     earthworms.m1 <- drm(number/total~dose, weights = total,
     data = earthworms, fct = W1.2(), type = "binomial")

     summary(earthworms.m1)

