Related Articles
favstats()
The favstats() function will compute a set of common summary statistics ("favorite stats") for a given variable, including the five-number summary (minimum, Q1, median/Q2, Q3, maximum), the mean, the standard deviation, the sample size (n), and the ...
Five-Number Summary
The 5-number summary is a way to describe the spread of a distribution around a median. If we start by sorting the values from smallest to largest, then chunk our data into quartiles (four equal groups of data points) we can get the five-number ...
ntile()
The ntile() function can be used to create equal sized groups (n-tiles) out of a quantitative variable. It can be modified to make any number of groups. For instance, if you take a quantitative variable such as Height from the Fingers data frame, you ...
Appendix of Videos in Course Textbook
These are the instructional videos that appear throughout the course textbook. Title Link What is Between Group vs Within Group Variation? Transcript https://player.vimeo.com/video/379060892 How to Tell if One Variable "Explains Variation" in ...
gf_boxplot()
The gf_boxplot() function will generate a boxplot (also known as a box and whiskers plot). A boxplot splits the data into quartiles, where each whisker and each half of the box contains 25% of all the observations. They are helpful for visualizing ...