Course Content
R Introduction: Part I
R Introduction: Part I
Grades Summary
Complete the task using the grades
data.
Task
Swipe to show code editor
- 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.
Solution
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?
Thanks for your feedback!
Section 3. Chapter 6
Grades Summary
Complete the task using the grades
data.
Task
Swipe to show code editor
- 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.
Solution
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?
Thanks for your feedback!
Section 3. Chapter 6
Switch to desktop for real-world practiceContinue from where you are using one of the options below