No subject

Jay Pfaffman pfaffman at relaxpc.com
Wed Aug 7 23:15:19 CEST 2002


I've got a table of 1 row per observation.  

16 questions * n subjects * 4 classrooms (2 teachers * 2 conditions)

I'd like to run some simple regressions that look something like this:

  lm(length ~ elapsed)

I'd like to do the regressions several times, split out by
questionkey, student, class.  What I've been doing is using a series
of which's to create new data sets (e.g. class1, class2, class3,
class4) and running the regressions (or whatever) against each of
those new data sets.  It seems that there should be better a way to do
this.

-- 
Jay Pfaffman                           pfaffman at relaxpc.com
+1-415-821-7507 (H)                    +1-415-810-2238 (M)

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