Kursinnhold
R Introduction: Part I
R Introduction: Part I
Grades Summary
Complete the task using the grades
data.
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 3. Kapittel 6
Grades Summary
Complete the task using the grades
data.
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 3. Kapittel 6