Dear Martin and Mario,
thanks a lot, both of your code work greatly...
Now I have species that are common between two selected sites, but how to
to detect species that are unique between two selected sites? in other
words which species is present in the site A and which other in the site
B?
Dear Martin and dear all,
I tried your approach but I suppose it does not work...
my commands are the following, where's my mistake?
head(dune)
Belper Empnig Junbuf Junart Airpra Elepal Rumace Viclat Brarut Ranfla
Cirarv
2 3 0 0 0 0 0 0 0 0
0
Hi Gian,
in your code, you selected column and do logic test when what you want
is to do test in line
In dune data, sites are lines, then:
# Select species with abundance 0 on line 1
spp1 - names(dune[1, dune[1, ] 0])
# Select species with abundance 0 on line 2
spp2 - names(dune[2,
Hi Gian,
there are many ways to do it. In the line with my previous post, you can
do:
new.data - dune[c(Line.number.where.sampleA.I.am.interested.in.lies,
Line.number.where.sampleB.I.am.interested.in.lies), ]
and proceed with the new.data like with the dune (as I wrote you
already)
another