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 .
I have two tabels like this:
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..........
The variables are factors and I would like to perform a ChiSquare
Test, comparing for example X1(first Table)
to X1(secondTable)(Null Hypothesis: Variables are equal)
Depending on the variables are the factor levels 1 up to 9.
But as you immediately see, there is often more than one answer per
species in the variables (Example 129).
My question is now: how can I say to R that these numbers have to be
treated separately? In the example as a 1, a 2 and a 9 and not as 129)
I really hope you understand what I mean. If not please ask me.
I would be very pleased, if somebody could help me.
Greetings
Birgit
Birgit Lemcke
Institut für Systematische Botanik
Zollikerstrasse 107
CH-8008 Zürich
Switzerland
Ph: +41 (0)44 634 8351
birgit.lemcke@systbot.uzh.ch
[[alternative HTML version deleted]]