wtloss {MASS} | R Documentation |
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.
Days |
Time in days since the start of the programme. |
Weight |
Weight in kilograms of the patient. |
This data frame contains the following columns:
Dr T. Davies, Adelaide.
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)