Re: [R] Random resampling of columns in species association matrices

2012-05-10 Thread mariasve
Hi David, Thank you for your suggestions. I am quite the beginner at R and don’t understand how to actually implement your suggestion and am hoping for some further advice on that, if possible. This is a subset of my data. Rows are host species, and columns parasite species. Three of the parasite

[R] Random resampling of columns in species association matrices

2012-05-09 Thread mariasve
I have a host-parasite association matrix in which parasite species are rows and host species columns and cells contain the frequency of interactions. Some parasites are associated with many hosts, and some hosts harbor several parasites, and I want to repeatedly select only one single representati