

wtloss(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.

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

    Days: Time in days since the start of the programme.

  Weight: Weight in kilograms of the patient.

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

     This data frame contains the following columns:

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

     Dr T. Davies, Adelaide.

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

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

