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

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

2012-05-09 Thread David L Carlson
y College Station, TX 77843-4352 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of mariasve > Sent: Wednesday, May 09, 2012 9:35 AM > To: r-help@r-project.org > Subject: [R] Random resampling of columns in spe

[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