Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Impara Challenge: Grades Summary | Section
Essential R Programming for Absolute Beginners - 1768563985826

bookChallenge: Grades Summary

Compito

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.

Soluzione

Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 1. Capitolo 26
single

single

Chieda ad AI

expand

Chieda ad AI

ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

close

bookChallenge: Grades Summary

Scorri per mostrare il menu

Compito

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.

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 1. Capitolo 26
single

single

some-alt