[R] row by row similarity

2008-04-06 Thread Grant Gillis
Hello all and thanks in advance for any advice. I am very new to R and have searched my question but have not come up with anything quite like what I would like to do. My problem is: I have a data set for individuals (rows) and values for behaviours (columns). I would like to know the proportion

Re: [R] row by row similarity

2008-04-06 Thread Simon Anders
Hi Grant, Grant Gillis wrote: > My problem is: > > I have a data set for individuals (rows) and values for behaviours > (columns). I would like to know the proportion of shared behaviours for all > possible pairs of individuals. The sum of shared behaviours divided by the > total. There are ze