Description Usage Arguments Value Examples
Uses data from the williams_grad dataset to compute and display appropriate summary statistics in either tabular or graphical format.
1 | readStudentInfo(data, grad.year)
|
type |
The subject of analysis. Possible options are
|
format |
This argument has three values ("numeric", "timeseries", "distribution")
|
A dataframe containing summary statistics if format == "numeric"
1 2 3 4 5 | statsummary("undergrad", "numeric") # Return a dataframe containing the numbers of undergraduate students by years
statsummary("latin", "timeseries") # Return a bar chart displaying the percentage of students receiving Summa Cum Laude,
# Magna Cum Laude, Cum Laude and no Latin honors over time.
statsummay("depertment", "distribution") # Return a bar chart showing top 5 most popular department (ranked by percentage of total students
majoring in the department)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.