Displaying 1 result from an estimated 1 matches for "torder1".
Did you mean:
torder
2010 Feb 01
0
working with taxonomic trees: sampling
...ents at each taxonomic level but
in a such way that at the end I will not end up with orphaned nodes
i.e. species without classes.
I have been trying to use 'sample' like following:
tcla<-sample(tclass,10,replace=T) #I pick 10 random elements, but I
want it to be a random number;
torder1<-torder[tclass==tcla] # I match list of orders with those that
belong to classes defined earlier;
tord<-sample(torder1, 10,replace=T) # pick 10 orders from classes that
are already chosen;
etc all the way down to species level.
The problem with this approach is that I may obtain branche...