search for: taframe

Displaying 1 result from an estimated 1 matches for "taframe".

Did you mean: aframe
2003 Jun 09
1
Basic question on applying a function to each row of a da taframe
...er neat way is: with(DF, foo(x, w)) HTH, Andy > -----Original Message----- > From: peter leonard [mailto:pfleonard at hotmail.com] > Sent: Sunday, June 08, 2003 4:35 PM > To: r-help at stat.math.ethz.ch > Subject: [R] Basic question on applying a function to each row of a > dataframe > > > Hi, > > I have a function foo(x,y) and a dataframe, DF, comprised of > two vectors, x > & w, as follows : > > x w > 1 1 1 > 2 2 1 > 3 3 1 > 4 4 1 > > etc > > > I would like to apply the function foo to each 'pair&...