Function drawing the distribution of grades as a barplot.

draw_grade_distribution(student_grades, pass, increment)

Arguments

student_grades

Tibble. Table with each "student" id, the maximum number of "points", and the "grade".

pass

Numeric. Value above which students validate.

increment

Numeric. Size of breaks.

Value

A ggplot object ready for rendering.

Author

Nicolas Mangin