| .plot_student_distribution | R Documentation |
The two exported functions draw the same student-distribution plot; they differ only in which model family is the "native" one (class vs rank) and therefore in which direction the redirect warning fires.
.plot_student_distribution(
data,
Num_Students,
title,
colors,
linetype,
show_legend,
legend_position,
prefer
)
data |
An object of class |
Num_Students |
Logical. If |
title |
Logical or character. If |
colors |
Character vector of length 2. First element is the bar fill
color, second is the line/point color. If |
linetype |
Character or numeric specifying the line type for the
frequency line. Default is |
show_legend |
Logical. If |
legend_position |
Character. Position of the legend.
One of |
prefer |
Either "class" (plotLCD_gg) or "rank" (plotLRD_gg). |
A ggplot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.