Hello RHelpers,
This may already have been answered, but despite days of scouring through the
archives I haven't found it.
My goal is to add multiple fitted curves to a plot.
An example data set (a data frame named df in following code) is:
x1 y1 factor1
4
Try this after displaying the xyplot:
# this fit.curve returns the whole nls object, not the coefs
fit.curve-function(tab) {
nls(y1 ~ 100/(1+exp(((-log(81))/a)*(x1-b))),
On 8/16/06, GOUACHE David [EMAIL PROTECTED] wrote:
Hello RHelpers,
This may already have been answered, but despite days of scouring through the
archives I haven't found it.
My goal is to add multiple fitted curves to a plot.
An example data set (a data frame named df in following code) is: