[R] A comment about R:
    Thomas Lumley 
    tlumley at u.washington.edu
       
    Wed Jan  4 17:04:15 CET 2006
    
    
  
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
    
    
More information about the R-help
mailing list