Warning! The page was not fully loaded, probably because of a network issue. It could be that not all functionalities work as expected. Please try reloading the page.
1.4 Factors (Extra)
Use the levels() function to look at the levels of the variable TVHrsDay within the dataset NH_18_69.
You obtain a vector with the factor levels.
Use square brackets [ ] to select the 7th category and rename it to “>_4_hr”.