I like the plyr syntax. Any time I have to use one of the *apply() commands I end up kicking the dog and going on a 3 day bender. So for the sake of my dog and my liver, wha
Just treat it like an array and work on each row:
adply(df, 1, transform, max = max(x, y))