[R] using matrix data for function
    Jason Turner 
    jasont at indigoindustrial.co.nz
       
    Wed Sep 17 22:50:22 CEST 2003
    
    
  
On Thu, 2003-09-18 at 06:41, Bing Zhang wrote:
> Thanks. How about I have a third parameter for the function, which is a fixed 
> object? i.e. the function is f(o,x,y)
1) My earlier reply had a typo. Should've been apply(m,1,f).
2) Luckily, the answer to this question, and any more you're likely to
have about apply(), are documented quite nicly.  help(apply) 
Cheers
Jason
-- 
Indigo Industrial Controls Ltd.
http://www.indigoindustrial.co.nz
+64-(0)21-343-545
    
    
More information about the R-help
mailing list