Skip to content
Prev 117003 / 398500 Next

tapply

try this:

tapply(re, list(reg, ast), function(x) shapiro.test(x)$p.value)


I hope it helps.

Best,
Dimitris

----
Dimitris Rizopoulos
Ph.D. Student
Biostatistical Centre
School of Public Health
Catholic University of Leuven

Address: Kapucijnenvoer 35, Leuven, Belgium
Tel: +32/(0)16/336899
Fax: +32/(0)16/337015
Web: http://med.kuleuven.be/biostat/
     http://www.student.kuleuven.be/~m0390867/dimitris.htm


----- Original Message ----- 
From: "livia" <yn19832 at msn.com>
To: <r-help at stat.math.ethz.ch>
Sent: Friday, June 01, 2007 1:00 PM
Subject: [R] tapply
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm