engagePlot: engagePlot

View source: R/engagePlot.R

engagePlotR Documentation

engagePlot

Description

Engagement Plot Function

Usage

engagePlot(data, major, etype, save = FALSE, save_dir = NULL)

Arguments

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

Details

Plots engagement-type-specific engagement over all four class years by major.

Examples

#engagePlot(engage_df, "Mathematics", "Coach", save=TRUE, save_dir="piper")

AMGold99/piperr documentation built on March 29, 2022, 9:46 a.m.