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

Kursusindhold

R Introduction: Part I

R Introduction: Part I

1. Basic Syntax and Operations
2. Basic Data Types and Vectors
3. Factors

book
Grades Summary

Complete the task using the grades data.

Opgave

Swipe to start coding

  1. Call the summary() function on your grades_f variable to output the number of occurrences of each factor grade.
  2. Calculate the proportion of each grade, dividing the result of summary(grades_f) by the total number of observations using the length() function applied to the grades_f variable.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 3. Kapitel 6
toggle bottom row

book
Grades Summary

Complete the task using the grades data.

Opgave

Swipe to start coding

  1. Call the summary() function on your grades_f variable to output the number of occurrences of each factor grade.
  2. Calculate the proportion of each grade, dividing the result of summary(grades_f) by the total number of observations using the length() function applied to the grades_f variable.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 3. Kapitel 6
Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Vi beklager, at noget gik galt. Hvad skete der?
some-alt