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
Get step-by-step solutions from verified subject matter experts
