Displaying 1 result from an estimated 1 matches for "sp43".
Did you mean:
sp3
2005 Jul 12
3
adding a factor column based on levels of another factor
...ies,
and there is no pattern to the order in which the species names appear in
the data frame.
e.g.
uniqueID species elev ht diam
1 1 sp2 3.5 1.3 55
2 2 sp2 4.2 0.5 15
3 3 sp3 3.2 1.0 13
4 4 sp65 2.2 2.0 14
5 5 sp43 5.4 5.7 20
6 6 sp2 2.5 4.1 32
7 7 sp12 1.1 0.9 5
8 8 sp3 3.4 3.6 2
I would like to add a factor column to this data frame, indicating to
which group each individual belongs. All individuals of the same species
will belong to the same gr...