[R] Basic question on applying a function to each row of a da taframe

Thomas Lumley tlumley at u.washington.edu
Mon Jun 9 21:16:43 CEST 2003


On Mon, 9 Jun 2003, Sundar Dorai-Raj wrote:

> Yes, but very slow for this example when the data.frame gets large....

Indeed. However, it works when the function is not already vectorised, and
if the function is already vectorised it is unnecessary.


	-thomas




More information about the R-help mailing list