Aliases: wtloss
Keywords: datasets
### ** Examples ## IGNORE_RDIFF_BEGIN wtloss.fm <- nls(Weight ~ b0 + b1*2^(-Days/th), data = wtloss, start = list(b0=90, b1=95, th=120)) wtloss.fm
Nonlinear regression model model: Weight ~ b0 + b1 * 2^(-Days/th) data: wtloss b0 b1 th 81.37 102.68 141.91 residual sum-of-squares: 39.24 Number of iterations to convergence: 3 Achieved convergence tolerance: 4.324e-06
## IGNORE_RDIFF_END plot(wtloss) with(wtloss, lines(Days, fitted(wtloss.fm)))