Dear All,
I wondered if anyone could help me understand how to remove values from a data frame in R?
Suppose for example my data frame had 8 variables.
- MR (a categorical variable)
- Mob (a categorical variable)
- SC (a categorical variable)
- Act (a categorical variable)
- Pain (a categorical variable)
- Anx (a categorical variable)
- Score (continuous variable)
- Age (continuous variable)
Suppose now that with the categorical variables, I only cared about values between 0 and 3, yet my data frame included values greater than 3.
Would anybody be able to tell me how I can delete values greater than 3?
Would be appreciated.