Skip to content

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

1 message · Lane, Jim

#
Phil: thank you very much, that's exactly what I was looking for! Why I
couldn't have figured that out from the doc for myself is another
question:-)

-Jim

-----Original Message-----
From: Phil Spector [mailto:spector at stat.berkeley.edu] 
Sent: 2009, April, 15 1:21 PM
To: Lane, Jim
Subject: Re: [R] How to apply a function to all combinations of the
values of 2 or more variables?

by(mf,list(mf$centre,mf$complex),summary)

                                        - Phil Spector
 					 Statistical Computing Facility
 					 Department of Statistics
 					 UC Berkeley
 					 spector at stat.berkeley.edu
On Wed, 15 Apr 2009, Lane, Jim wrote:

            
not waive any related rights and obligations.
contains by other than an intended recipient is unauthorized.
e-mail or otherwise) immediately.
renonce pas aux droits et obligations qui s'y rapportent.
renseignements qu'il contient par une personne autre que le (les)
destinataire(s) d??ign??s) est interdite.
aviser imm??iatement, par retour de courrier ??ectronique ou par un
autre moyen.
_______________________________________________________________________

This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations.
Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized.
If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately.  

Ce courrier ?lectronique est confidentiel et prot?g?. L'exp?diteur ne renonce pas aux droits et obligations qui s'y rapportent.
Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) d?sign?(s) est interdite.
Si vous recevez ce courrier ?lectronique par erreur, veuillez m'en aviser imm?diatement, par retour de courrier ?lectronique ou par un autre moyen.