Kursinnehåll
R Introduction: Part I
R Introduction: Part I
Grades Summary
Complete the task using the grades
data.
Uppgift
Swipe to start coding
- Call the
summary()
function on yourgrades_f
variable to output the number of occurrences of each factor grade. - Calculate the proportion of each grade, dividing the result of
summary(grades_f)
by the total number of observations using thelength()
function applied to thegrades_f
variable.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 3. Kapitel 6
Grades Summary
Complete the task using the grades
data.
Uppgift
Swipe to start coding
- Call the
summary()
function on yourgrades_f
variable to output the number of occurrences of each factor grade. - Calculate the proportion of each grade, dividing the result of
summary(grades_f)
by the total number of observations using thelength()
function applied to thegrades_f
variable.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 3. Kapitel 6