search for: pybr003b

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

Did you mean: pybr003a
2010 Nov 05
4
assignment operator saving factor level as number
...f1 are factors with alphanumeric names df1 looks like this: 'data.frame': 3014 obs. of 13 variables: $ Num : int 1 1 1 2 2 2 3 3 3 4 ... $ Tag_Num : int 1195 1195 1195 1162 1162 1162 1106 1106 1106 1173 ... $ Site : Factor w/ 25 levels "PYBR002A","PYBR003B",..: 1 1 1 1 1 1 1 1 1 1 ... $ Site_IndNum : Factor w/ 1044 levels "PYBR002A_001",..: 1 1 1 2 2 2 3 3 3 4 ... .... ... $ Area : num 463.3 29.5 101.8 152.9 34.6 ... However, whenever I try to assign values, like this df2[j,1]<-df2$Site[i] the values are changed from a...