Changing elements of vector from numbers to category

Viewed 17

I have a vector/column named fh$Status. The elements of this vector are numeric values ranging from roughly 1-14.

I would like to change the numeric values to labels such that if the value is 3 or less, then it is changed to "Free".

How do I do this?

0 Answers
Related