Displaying 1 result from an estimated 1 matches for "spagplot".
Did you mean:
segplot
2011 Sep 03
1
Problem with by statement for spaghetti plots
Hi,
I am trying to apply the example at the bottom of the following page to my
own data:
http://128.97.141.26/stat/R/faq/spagplot.htm
http://128.97.141.26/stat/R/faq/spagplot.htm
The code from the example is:
/tolerance<-read.table("http://www.ats.ucla.edu/stat/R/faq/tolpp.csv",sep=",",
header=T)
fit <- by(tolerance, tolerance$id,function(x) fitted.values(lm(tolerance ~
time, data=x)))
fit1 <-...