Skip to content
Prev 33113 / 398506 Next

Basic question on applying a function to each row of a dataframe

On Sun, 8 Jun 2003, peter leonard wrote:

            
In R 1.7.0 there is a function mapply() for this sort of thing.

mapply("foo",DF[,1],DF[,2])

	-thomas