engagePlot | R Documentation |
Engagement Plot Function
engagePlot(data, major, etype, save = FALSE, save_dir = NULL)
data |
Dataframe of with class year, major, and individual student engagement tallies for events (e_attend), coach (coach_appt), peer advisor (pa_appt), and coach or peer advisor (c_pa_appt) |
major |
Major of interest (character). Must match major spelling and case exactly as found in data |
etype |
Engagement type (character). "Coach or Peer Advisor", "Coach", "Peer Advisor", or "Events" |
save |
Do you wish to save the plot output to the session directory? Default is FALSE |
save_dir |
If save==TRUE, specify what directory (or file path to that directory, omitting the top-level working directory) in which you wish to save the file |
Plots engagement-type-specific engagement over all four class years by major.
#engagePlot(engage_df, "Mathematics", "Coach", save=TRUE, save_dir="piper")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.