I have a factor variable with a single column of data. It contains 33 levels, and as I understand each individual level has an integer value from 1-33. I was wondering how I could refer to that value rather than the levels label when subsetting a row?
Heres my attemp at writing the code for it:
Bexley <- subset(LE2016, borough[3])
I am trying to create a new object 'Bexley' containing only the level which was assigned the integer value of 3 from the dataframe 'LE2016'.
Thanks