Question: Object in R called termreason with 7 different levels. 1- Success 4- Bad weather 5- Bad conditions 7- Illness 8- Lack of supplies 10- lack

Object in R called termreason with 7 different levels.

1- Success

4- Bad weather

5- Bad conditions

7- Illness

8- Lack of supplies

10- lack of experience/strength

14- other

Asking me to convert the termreason codes into actual reasons. How would I do this in R script using levels()?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!