summary_department: Gives summary of the ages of Williams faculty by department...

Description Usage Arguments Value

Description

The "summary_department" function givess a summary of the ages of Williams faculty sorted by department and year. If no year is specified, 2014 is defaulted.

Usage

1

Arguments

x

Character string of desired department. See "for_department" for a complete list of departments to use as parameters. If nothing is entered, "summary_department" will summarize all departments.

y

Data frame to be used. Data frames vary by year. Acceptable parameters include "clean_df2011", "clean_df2012", "clean_df2013", "clean_df" (years 2011-2014). Note that "y = clean_df2011" (or 2012/2013) must be entered as argument if user desires summarizing all departments but does not want the default year 2014.

Value

A summary of the ages of Williams faculty for the specified department and year. This function uses the base summary() and sd() functions which will return the mean, first quartile, median, mean, third quartile, maximum value, and standard deviation.


chenfr/williamsfacultyage documentation built on May 13, 2019, 3:40 p.m.