-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of
Afshartous, David
Sent: Tuesday, August 09, 2005 9:21 AM
To: r-help at stat.math.ethz.ch
Subject: [R] numeric operations w/ lists
Hello all,
X is a list of 20 lists, and each individual list has 65 elements.
Y is a list of 65 elements.
WANT: subtract Y from each of the 20 lists in X.
Here's what I tried and the error messages:
Error in X - rep(Y 20) : non-numeric argument to binary operator
I tried several methods w/o success. Any suggestions kindly
appreciated.
Thanks,
Dave
ps - please copy afshar at miami.edu in the reply, as I've had
problems receiving the daily digest.