On Wed, 4 Jan 2006, Roger Bivand wrote: > Could I ask for comments on: > > source(url("http://spatial.nhh.no/R/etc/capabilities.R"), echo=TRUE) > > as a reproduction of the Stata capabilities session? Both the t test and > the chi-square from our side point up oddities. I didn't succeed on > putting fit lines on a grouped xyplot, so backed out to base graphics. > This could be Swoven, possibly using the RweaveHTML driver. >
Personally, I would have used with() for some of these, eg with(auto, table(rep78, foreign)) with(auto, chisq.test(table(rep78, foreign))) and I'm sure that someone will point out the right way to get lines on coplot() or xyplot(). Apart from that it looks good. -thomas ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html