Dear R helpers, I have a data frame > summary(emPat) pairE subj pattern far-near : 18 sub1 : 37 urb :123 long-short : 18 sub2 : 37 bpb : 72 supported-unsupported: 18 sub3 : 37 prp : 67 large-small : 18 sub4 : 37 brb : 64 dense-sparse : 18 sub5 : 37 unp : 62 divergent-convergent : 18 sub6 : 37 pnp : 44 (Other) :558 (Other):444 (Other):234 > dim(emPat) [1] 666 3 I have 37 types of pairE. 18 subjects placed each of the 37 pairEsinto one of 24 patterns (18 x 37 = 666). I would like to compute a matrix of profile similarities between the pairE. I was thinking of using mutual information as a measure of profile similarity. Questions: (1) Is there a tool to compute this matrix easily. If not what tools are there that I might adapt to this purpose? (2) Can anyone recommend alternative ways of computing such profile similarities? _____________________________ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400 Charlottesville, VA 22904-4400 Parcels: Room 102 Gilmer Hall McCormick Road Charlottesville, VA 22903 Office: B011 +1-434-982-4729 Lab: B019 +1-434-982-4751 Fax: +1-434-982-4766 WWW: http://www.people.virginia.edu/~mk9y/ [[alternative HTML version deleted]]