Osio 1. Luku 4
single
Challenge: Factors
Pyyhkäise näyttääksesi valikon
Tehtävä
Pyyhkäise aloittaaksesi koodauksen
Practice converting character vectors to factors, reordering their levels, and summarizing the frequency of each category. This exercise reinforces your understanding of categorical data handling in R.
- Convert
char_vecto a factor. - Reorder the factor levels according to
new_order. - Summarize the frequency of each category and return the summary.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 4
single
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme