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 ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help