Description Usage Arguments Value See Also Examples
View source: R/plot_by_gender.R
This function generates plots with gender as a factor. If there is no input, a qplot (boxplots) of the age data with both genders will be generated. If the input is a gender, it will create a histogram of the age distribution of Williams faculty of that gender. If the input is not a gender, an error message would be returned.
1 | plot_by_gender(gender)
|
gender |
This input should be one of the genders |
a histogram of the age distribution of Williams faculty of the gender selected
plot_age
for histogram of all ages, plot_by_dpmt
for boxplots and histograms by department, 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_dpmt
1 2 | plot_by_gender('Male')
plot_by_gender('female')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.