Dear list, can somebody point me to how to compute stats for each line (over several columns): A B C D E F X 1 2 3 4 5 6 = x1 2 3 4 5 6 7 = x2 3 4 5 6 7 8 = x3 . . . . . . . . . . . . . . . . . . . . . . . . Regards, Ulrich -- __________________________________________________ Ulrich Leopold MSc. Department of Physical Geography Institute for Biodiversity and Ecosystem Dynamics Faculty of Science University of Amsterdam Nieuwe Achtergracht 166 NL-1018WV Amsterdam Phone: +31-(0)20-525-7456 (7451 Secretary) Fax: +31-(0)20-525-7431 Email: uleopold at science.uva.nl http://www.frw.uva.nl/soil/Welcome.html Check us also out at: Netherlands Centre for Geo-ecological Research http://www.frw.uva.nl/icg -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Ulrich Leopold wrote:> > Dear list, > > can somebody point me to how to compute stats for each line (over > several columns): > > A B C D E F X > 1 2 3 4 5 6 = x1 > 2 3 4 5 6 7 = x2 > 3 4 5 6 7 8 = x3 > . . . . . . . . > . . . . . . . . > . . . . . . . . >?apply Uwe Ligges -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>>>>> "ulrich" == Ulrich Leopold <uleopold at science.uva.nl> writes:ulrich> Dear list, ulrich> can somebody point me to how to compute stats for each line (over ulrich> several columns): ulrich> A B C D E F X ulrich> 1 2 3 4 5 6 = x1 ulrich> 2 3 4 5 6 7 = x2 ulrich> 3 4 5 6 7 8 = x3 ulrich> . . . . . . . . ulrich> . . . . . . . . ulrich> . . . . . . . . if X is the above matrix, apply(X,1,summary) -- A.J. Rossini Rsrch. Asst. Prof. of Biostatistics U. of Washington Biostatistics rossini at u.washington.edu FHCRC/SCHARP/HIV Vaccine Trials Net rossini at scharp.org -------------- http://software.biostat.washington.edu/ ---------------- FHCRC: M: 206-667-7025 (fax=4812)|Voicemail is pretty sketchy/use Email UW: Th: 206-543-1044 (fax=3286)|Change last 4 digits of phone to FAX (my tuesday/wednesday/friday locations are completely unpredictable.) -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._