'How do I remove observations from the first level of a variable?
I have a factor variable movieFac and I'm trying to remove these 38 observations at the beginning and recreate the variable without them. I've been trying drop levels, but haven't had any success.
movieFac <- as.factor(movieW$movie)
table(movieFac)
movieFac
A Beautiful Mind
38 23
American Beauty Batman
38 13
Beverly Hills Cop Chicago
33 36
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
