[R] pairwise comparisons

Rebecca Young rlyoung at email.arizona.edu
Wed Sep 8 02:16:34 CEST 2004


I am a new R user.  I am trying to calculate vector correlations for all
pairwise comparisons in my data frame without repeats.  I am familiar with the
expand.grid function, but this includes repeats.  Is there a way to use
expand.grid and eliminate repeats?  Or is there another function that can be
used to do this?

Thank you.

Rebecca Young
Graduate Student
Ecology & Evolutionary Biology, Badyaev Lab
University of Arizona
1041 E Lowell
Tucson, AZ 85721-0088
Office: 425BSW
rlyoung at email.arizona.edu
(520) 621-4005

More information about the R-help mailing list