[R] Ambiguities in vector

Birgit Lemcke birgit.lemcke at systbot.uzh.ch
Thu Sep 20 09:49:19 CEST 2007


Hello all you helpful people out there!

I am stil R Beginner using R 2.5.1 on a Apple Power Book G4 with Mac
OS X 10.4.10 .

Perhaps you haven´t understood my question in the mail yesterday. So  
I will try to describe my problem in a different way

You see the tables. I would like to test the variables between the  
tables. But for some variables in some species , I have more than 1  
possibility.
Example: if the variable is leaf form coded by numbers. The species  
Anth-crin could have the form round or elliptic coded with 1 and 2.  
So there is written 12. But the two numbers should be treated  
separately. Is there a possibility in R to have a classe with  
ambiguities? Or do I have to recode my variables in a different way  
to handle this?

I really hope you understand now what I mean. If not please ask me.

I would be very pleased, if somebody could help me.

Here are the two tables:

MalTabChi
                X1 X4 X6 X8  X10  X14  X21  X24   X29  X38  X43 X50
X67  X76  X78 X80 X82 X84
Anth_cap       1  1  1  1    6    5    1   45    12    4   12   6
56    5    2   4   1   1
Anth_crin     12  1  1  2   76    5    1   45   256    2   25  56
56  345    2  23   1   2
Anth_eck      12  1 12  1    7    5   12    5    14   45    2  56
4    5    2  34   1  12
Anth_gram      2  1  1  1    6    5    1   25    25   23   25  45
5   45    2  23   1  12
Anth_insi      2  1  1  2   63    5    1    4     2    2    2  45
45   45   12   3   1  23
Anth_laxi     12  1  1 12    7   45    1    5   245   23    5  46
56  345    2  23   1  12
Anth_sing      1  1  2  1    7 2345    1    4   129 2345   12  46
4    5   23   2   1   1
Aski_albo_ari  3  1  1  2    6    5    2   46     2   34   15  34
5    5    3   4   1   1
Aski_alt      13  1  1  2    6    5    2    4     2    3   15  46
5    5    2  34   3   1
Aski_and       1  1  2  2    6    5    2    5  <NA> <NA>    1  36
4    5    3   3   3   1
Aski_capi      3  1  1  2   63    5    2    5     2    3    5  45
4    5    3   3   1   1.............

FemTabChi
                  X1 X4   X6 X8  X10  X14 X21 X24   X29  X38  X43 X50
X67 X76  X78 X80 X82 X84
Anth_cap         1  1    1  2    4    4   1   5     6   14    2   6
56   5    2  23   1   1
Anth_crin        1  1    1  2   47    5   1  45     6    1    2
45    5  34    2   3   1  23
Anth_eck         1  1    1  2    4    5   1  45     6    1    2  56
46 345    2   3   1  12
Anth_gram        1  1    1  2 <NA>    5   2   5  <NA>    4 <NA>  56
56   5    2   3   1   1
Anth_insi        1  1    1  2    3    5   1   4    26   25    2
4    5   5    2   3   1 234
Anth_laxi        1  1    1  2   47    5   1  56     6   24    2
4    5 345   21  23   1   1
Anth_sing        1  1    1  2   47   24   1   2    24    2    2
4    4   5    2  12   1   1
Aski_albo_ari    2  1    1  2    4    5   2   4     2   34   15
4    5   5    3   4   1   1
Aski_alt        12  1    1  2    4    5   2   4    89    5   15
46    5   5    2   3   3   1
Aski_and         1  1    1  2    4    5   2   5   259    5    1  46
25   5    2  23   1   1
Aski_capi       23  1    1  2  234    5   2   5  2459  235    5
46    5  34    3   3   1   1
Aski_chart      12  1    1  2    4    5   2   4    29    2   15   4
25   5    2  34   3   1
Aski_deli        2  1    1  2 <NA>   45  12   4     6    2    5
46    5   3    3   4   1   1..........

Greetings

Birgit




Birgit Lemcke
Institut für Systematische Botanik
Zollikerstrasse 107
CH-8008 Zürich
Switzerland
Ph: +41 (0)44 634 8351
birgit.lemcke at systbot.uzh.ch






	[[alternative HTML version deleted]]

______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting- 
guide.html
and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list