[R] trellis -graphic

Peter Schlattmann peter.schlattmann at medizin.fu-berlin.de
Fri Aug 9 17:47:07 CEST 2002


Dear all,

I am stuck with the following problem:

Using the Indometh data set I want to plot the predicted
values of a simple bixeponential model together with the observed
concentrations.

I managed to plot the predicted values:

datafi<-Indometh
fm<-nls(conc~SSbiexp(time,A1,lrc1,A2,lrc2),data=datafi)
yhat<-predict(fm)
datafi<-data.frame(datafi,yhat)
xyplot(yhat~time |Subject,data=datafi,type="l")

but how can I superpose the observed concentrations?

Thanks a lot for your help

Cheers
Peter

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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