Contenido del Curso
R Introduction: Part I
R Introduction: Part I
Grades Summary
Complete the task using the grades
data.
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.
¡Gracias por tus comentarios!
Grades Summary
Complete the task using the grades
data.
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.
¡Gracias por tus comentarios!