[R] repeatedly applying function with matrix-rows as argument

Maarten Speekenbrink M.Speekenbrink at uva.nl
Mon Jun 30 14:12:33 CEST 2003


Dear R-users,

Suppose I have a function which takes three arguments. I would like to repeatedly apply the function, using a matrix N*3 in which each row supplies the three argements for the function. Is this possible? Thank you for your help in advance!

Kind regards,

Maarten
---------------------------------------------------------------------
  Maarten Speekenbrink
  Psychological Methodology
  Department of Psychology, Faculty of Social and Behavioral Sciences
  address: Roetersstraat 15, 1018 WB Amsterdam, Netherlands
  tel: +31 20 525 6876 / +31 20 525 6870
  fax: +31 20 639 0026




More information about the R-help mailing list