plot_by_dpmt: Plotting age by department

Description Usage Arguments Value See Also Examples

View source: R/plot_by_dpmt.R

Description

This function generates plots with department as a factor. If there is no input, A qplot (boxplots) of the age data with all departments will be generated. If the input is a department, it will create a histogram of the age distribution of Williams faculty of that department, with bordering indicating gender. If the input is not a department, an error message would be returned. If the input is one of the department in a combined category, a histogram of that category would be returned.

Usage

1

Arguments

dpmt

This input should be one of the departments at Williams, the first letter should be capitalized

Value

a histogram of the age distribution of Williams faculty of the department selected

See Also

plot_age for histogram of all ages, plot_by_gender for boxplots and histograms by gender, color_by_gender for colored scatter plot by gender, and color_by_dpmt for colored scatter plot by department

Other plotting.functions: color_by_dpmt, color_by_gender, plot_age, plot_by_gender

Examples

1
2
plot_by_dpmt('Physics')
plot_by_dpmt('Theatre/Dance')

yz4/WilliamsFaculty documentation built on May 4, 2019, 8:47 p.m.