Skip to content
Prev 306139 / 398506 Next

List creation based on matrix

Hi

Your attachment came scrambled. Something wrong with dput?

anyway

having
V1 V2 species
a  1  4       a
b  2  5       b
c  3  6       c
species variable value
1       a       V1     1
2       b       V1     2
3       c       V1     3
4       a       V2     4
5       b       V2     5
6       c       V2     6


Gives probably what you want

Petr