search for: tsupidcount

Displaying 1 result from an estimated 1 matches for "tsupidcount".

2008 Feb 26
1
combine vector and data frame on field?
...00 0.9733333 0.9715333 7 305 Actinobacteria 0.000000000 0.9700000 0.9700000 8 307 Actinobacteria 0.000000000 0.9700000 0.9700000 9 328 Actinobacteria 0.000000000 1.0000000 1.0000000 10 10689 Actinobacteria 0.000000000 1.0000000 1.0000000 > and what I think is a factor like this: > tsuPIDCount[1:10] 3 4 5 8 9 12 13 15 18 19 2 2 2 3 4 7 4 2 2 3 > Now, I'd like to combine the two. The factor levels in tsuPIDCount corresponds to the field called PID in the data frame. Any hints on how to do this? cbind just adds the vector onto the end, and I couldn't quite figur...