[R] multiple fitted curves plot

Stewart Schultz schultz at fig.cox.miami.edu
Sat Sep 8 03:49:53 CEST 2001

Dear Rusers,

How would I plot several (24) fitted curves (nonlinear least squares)
within a single plot?  To get the parameters I use:

resff <- list()
for (s in levels(PairID)) {
      resff[[s]] <- nls(Photo ~ SSasymp(Ci, Asym, lrc, c0),
      subset = (PairID == s))

Is it also possible to plot two different groups (male, female) of curves
in the same plot, with different style lines?

Many thanks,

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list