> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of Michael > Sent: Monday, March 06, 2006 5:56 PM > To: Gabor Grothendieck > Cc: [email protected] > Subject: Re: [R] is there a way to let R do smart matrix-vector operation? > > Does R have a similarly smart division? > > I've tried hard on: > > > A/as.vector(as.matrix(ddLen)) > Error in A/as.vector(as.matrix(ddLen)) : non-numeric argument to binary > operator
If ddLen is truly a list, then you might try A/unlist(ddLen) Hope this helps, Dan Daniel Nordlund Bothell, WA ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
