On Feb 6, 2010, at 10:33 PM, kupz wrote:
So I have a data set I would like to model using a non-linear
method. I know
it should be an exponential decay. However I know what the first
derivative
of the equation should be at two points, x=0 and x=100. Is there
anyway to
establish this when inputing the model or how would one go about
this before
the nls statement....
Given the rather simple relationship between the exponential function
and its derivative, why would you need the regression if you already
have those two points for dy/dx ( as well as the value of the function
at x=0)? Is this homework?
--
David Winsemius, MD
Heritage Laboratories
West Hartford, CT
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.