Description Usage Arguments Value
ttd_plotter_2
takes a dataframe with one row per graduate
and returns a plot. If there are more than ten rows, a histogram
will be returned.
1 2 | ttd_plotter_2(dfTTD, ttdColor = "#35618f",
ttdVar = Time.To.Degree..Yrs....22, medColor = "black")
|
dfTTD |
a dataframe imported from |
ttdColor |
fill color for the histogram or density plot; default is a deep blue: #35618f |
a ggplot object, if there are 10 or more rows in the supplied dataframe, then the object returned will be a histogram. If there are 5 or more rows, but fewer than 10, the object will be kernal desnsity plot. If there are fewer than 5 rows, the object will be a blank plot with red text stating 'Insufficient Observations'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.