
Hi,


I am interested in testing whether increasing the number of plant
species sampled increases the number of herbivore species I find, irrespective
of the number of herbivores collected.


To do that, I was thinking of fixing the number of
herbivores collected (e.g. 100) and randomly pulling 99 samples of 100
herbivores from all possible combinations of 2 plant species, 3 plant species,
4 plant species, etc. This should then yield a curve with number of plant
species on the x axis and average number of herbivore species found on the y
axis, always for a sample of 100 herbivores.


Does such a function already exist?


My data (see below) is in matrix form with columns representing
herbivore species (14) and rows representing plant species (14), with the numbers in the
cells representing number of specimens collected per herbivore and plant
species combination. 


I’m not quite sure how to tackle this….


Thanks!

 

Linda


 
 
  V1
  V2
  V3
  V4
  V5
  V6
  V7
  V8
  V9
  V10
  V11
  V12
  V13
  V14
 
 
  1
  142
  2
  8
  0
  0
  0
  166
  0
  0
  0
  1
  1
  2
 
 
  0
  40
  2
  1
  0
  0
  0
  144
  0
  4
  0
  0
  0
  0
 
 
  0
  21
  0
  0
  0
  0
  0
  94
  0
  0
  0
  0
  0
  0
 
 
  0
  4
  0
  0
  0
  0
  0
  122
  0
  0
  0
  0
  0
  0
 
 
  0
  20
  2
  0
  0
  0
  0
  34
  0
  0
  0
  0
  1
  0
 
 
  1
  12
  0
  1
  0
  0
  0
  20
  0
  1
  0
  0
  0
  0
 
 
  0
  14
  0
  0
  0
  0
  0
  1
  0
  0
  0
  0
  0
  0
 
 
  0
  0
  0
  0
  0
  0
  0
  0
  0
  0
  0
  0
  0
  0
 
 
  0
  0
  0
  0
  0
  0
  1
  20
  0
  0
  0
  0
  0
  0
 
 
  0
  0
  0
  0
  0
  0
  0
  0
  0
  0
  0
  0
  0
  0
 
 
  0
  23
  2
  0
  0
  23
  1
  464
  69
  0
  4
  0
  20
  0
 
 
  5
  6
  3
  1
  1
  8
  0
  123
  21
  1
  0
  0
  12
  0
 
 
  0
  1
  0
  0
  0
  0
  0
  41
  0
  0
  0
  0
  0
  0
 
 
  0
  14
  0
  0
  0
  0
  0
  3
  0
  0
  0
  0
  0
  0
 

 		 	   		  
	[[alternative HTML version deleted]]

