Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Grades Summary | Factors
R Introduction: Part I

Pyyhkäise näyttääksesi valikon

book
Grades Summary

Tehtävä

Swipe to start coding

You have already created a factor vector, grades_f, which assigns each numeric grade into one of five categories ('F', 'D', 'C', 'B', 'A'). Your goal is to:

  1. Call the summary() function on your grades_f variable to output the number of occurrences of each factor grade.
  2. Divide those counts by the total number of grades, computed by calling length() function on grades_f variable, to obtain the relative frequency of each grade.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 3. Luku 6

Kysy tekoälyä

expand
ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

book
Grades Summary

Tehtävä

Swipe to start coding

You have already created a factor vector, grades_f, which assigns each numeric grade into one of five categories ('F', 'D', 'C', 'B', 'A'). Your goal is to:

  1. Call the summary() function on your grades_f variable to output the number of occurrences of each factor grade.
  2. Divide those counts by the total number of grades, computed by calling length() function on grades_f variable, to obtain the relative frequency of each grade.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 3. Luku 6
Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Pahoittelemme, että jotain meni pieleen. Mitä tapahtui?
some-alt