Displaying 1 result from an estimated 1 matches for "insectsprays2".
Did you mean:
insectsprays
2011 Aug 14
1
Renaming levels of a factor in a dataframe
Dear Helplist:
I am trying, unsuccessfully, to rename levels of a factor in a dataframe. The dataframe consists of two factor variables and one numeric variable as follows:
Factor Site has 2 levels AB and DE, factor Fish has 30 levels, 15 associated with each Site e.g. 1-1, 1-2,.....2-1, 2-2.... I am trying to rename the levels of factor Site from AB to Fw and DE to Est while keeping them as