Grades Summary
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:
- Call the
summary()
function on yourgrades_f
variable to output the number of occurrences of each factor grade. - Divide those counts by the total number of grades, computed by calling
length()
function ongrades_f
variable, to obtain the relative frequency of each grade.
Solução
Obrigado pelo seu feedback!
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Awesome!
Completion rate improved to 3.85Awesome!
Completion rate improved to 3.85
Grades Summary
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:
- Call the
summary()
function on yourgrades_f
variable to output the number of occurrences of each factor grade. - Divide those counts by the total number of grades, computed by calling
length()
function ongrades_f
variable, to obtain the relative frequency of each grade.
Solução
Obrigado pelo seu feedback!
single
Awesome!
Completion rate improved to 3.85
Grades Summary
Deslize para mostrar o menu
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:
- Call the
summary()
function on yourgrades_f
variable to output the number of occurrences of each factor grade. - Divide those counts by the total number of grades, computed by calling
length()
function ongrades_f
variable, to obtain the relative frequency of each grade.
Solução
Obrigado pelo seu feedback!