wtloss                 package:MASS                 R Documentation

_W_e_i_g_h_t _L_o_s_s _D_a_t_a _f_r_o_m _a_n _O_b_e_s_e _P_a_t_i_e_n_t

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

     The data frame gives the weight, in kilograms, of an obese patient
     at 52 time points over an 8 month period of a weight
     rehabilitation programme.

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

     data(wtloss)

_F_o_r_m_a_t:

     This data frame contains the following columns:

     '_D_a_y_s' Time in days since the start of the programme.

     '_W_e_i_g_h_t' Weight in kilograms of the patient.

_S_o_u_r_c_e:

     Dr T. Davies, Adelaide.

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

     Venables, W. N. and Ripley, B. D. (2002) _Modern Applied
     Statistics with S._ Fourth edition.  Springer.

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

     wtloss.fm <- nls(Weight ~ b0 + b1*2^(-Days/th),
         data = wtloss, start = list(b0=90, b1=95, th=120),
         trace = TRUE)

