mean_department: Estimate average age by department and year

Description Usage Arguments Value

View source: R/mean_department.R

Description

The "mean_department" function estimates the average age of Williams faculty sorted by department and year. If no year is specified, 2014 is the defaulted.

Usage

1

Arguments

x

Character string of desired department. See "for_department" for a complete list of departments to use as parameters.

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)

Value

The average age of Williams faculty for the specified department and year.


chenfr/williamsfacultyage documentation built on May 12, 2017, 2:24 a.m.