Skip to content
Prev 313161 / 398506 Next

Can somebody help me with following data manipulation?

Converting to factors does not get all combinations.
V1 V2        V3
1   C  0 0.5000000
2   C  1        NA
3   G  0 1.0000000
4   G  1        NA
5   I  0 0.3333333
6   I  1 0.4285714
7   O  0 1.0000000
8   O  1 0.0000000
9   R  0 0.0000000
10  R  1 0.6666667
11  T  0 0.8333333
12  T  1 0.5000000

But the OP's dat1 contains only 6 observations.
----------------------------------------------
David L Carlson
Associate Professor of Anthropology
Texas A&M University
College Station, TX 77843-4352