Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Challenge: Grades Summary | Section
Practice
Projects
Quizzes & Challenges
Questionários
Challenges
/
Essential R Programming for Absolute Beginners - 1768563985826

bookChallenge: Grades Summary

Tarefa

Swipe to start coding

You have 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. Use the summary() function on grades_f to display the number of occurrences of each grade.
  2. Compute the relative frequency of each grade by dividing the counts from the previous step by the total number of grades. To find the total, call the length() function on grades_f.

Solução

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 26
single

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

close

bookChallenge: Grades Summary

Deslize para mostrar o menu

Tarefa

Swipe to start coding

You have 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. Use the summary() function on grades_f to display the number of occurrences of each grade.
  2. Compute the relative frequency of each grade by dividing the counts from the previous step by the total number of grades. To find the total, call the length() function on grades_f.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 26
single

single

some-alt