Skip to content

How to apply a function to all combinations of the values of 2 or more variables?

3 messages · Lane, Jim, Baptiste Auguie, Michael Lawrence

#
I think you want to have a look at the plyr or doBy packages.

It would be easier to give a precise answer with a minimal example.

HTH,

baptiste
On 15 Apr 2009, at 18:03, Lane, Jim wrote:

            
_____________________________

Baptiste Augui?

School of Physics
University of Exeter
Stocker Road,
Exeter, Devon,
EX4 4QL, UK

Phone: +44 1392 264187

http://newton.ex.ac.uk/research/emag
#
Check out plyr:

http://had.co.nz/plyr/
On Wed, Apr 15, 2009 at 2:03 PM, Lane, Jim <jim.lane at rbc.com> wrote: