A nonlinear regression analysis with R