class: center, middle, inverse # .huge[.teal[SIMMER]] # it # .big[.gray[DOWN]] --- class: # <i class="fa fa-toolbox blue"></i> Your .teal[**EXPANDED**] toolbox <style> .remark-slide table {border-top: 0; border-bottom: 0;} th, td {padding: 10px; padding-left: 16px; padding-right: 16px; padding-top: 14px;} .bluecode code {font-weight: 700} .split-table hr {border-top: 1px dashed gray; width: 100% !important; margin-top: 14px; margin-bottom: 2px; margin-left: 0;} </style> <div class="bluecode" style="font-size: 0.8rem; width: 78%; margin-top: 44px; margin-left: auto; margin-right: auto; font-weight: 700;"> <table> <thead> <tr> <th style="text-align:center;"> Function </th> <th style="text-align:left;"> Job </th> </tr> </thead> <tbody> <tr> <td style="text-align:center;"> <code> filter() </code> </td> <td style="text-align:left;"> Keep rows that pass your tests </td> </tr> <tr> <td style="text-align:center;"> <code> select() </code> </td> <td style="text-align:left;"> Select columns to keep or drop </td> </tr> <tr> <td style="text-align:center;"> <code> arrange() </code> </td> <td style="text-align:left;"> Sort a table based on a column's values </td> </tr> <tr> <td style="text-align:center;"> <code> mutate() </code> </td> <td style="text-align:left;"> Add new columns or update existing columns </td> </tr> </tbody> </table> </div> <div class="split-table"> <hr> </div> <div class="tealcode" style="font-size: 1.5rem; width: 85%; margin-top: 0; font-weight: 700; margin-left: auto; margin-right: auto;"> <table> <tbody> <tr> <td style="text-align:center;"> <code style="font-size: 2.1rem"> summarize() </code> </td> <td style="text-align:left;"> Get summary statistics for an entire table </td> </tr> <tr> <td style="text-align:center;"> <code style="font-size: 2.1rem"> group_by() </code> </td> <td style="text-align:left;"> Group data for group specific summaries </td> </tr> </tbody> </table> </div> --- class: # A .darkgray[MONSTER] summary <img src="../images/monsters/monster_data.png" style="width: 60%; margin-top: -12px;"> --- class: inverse, middle, center # .bigger[.blue[summarize( )]] --- <div style="height: 145px; overflow:hidden;"> <img src="../images/monsters/summarize_monsters.png" style="width: 96%; margin-top: 4px;"> </div> -- <div style="margin-top: 24px; overflow:hidden; "> <img src="../images/monsters/summarize_monsters.png" style="width: 75%; margin-top: -110px;"> </div> --- <div style="height: 145px; overflow:hidden;"> <img src="../images/monsters/summarize_monsters.png" style="width: 96%; margin-top: 4px;"> </div> <div style="margin-top: 52px; overflow:hidden; "> <img src="../images/monsters/summarize_monsters2.png" style="width: 95.5%; margin-top: -138px;"> </div> --- class: inverse, middle, center # .bigger[.blue[group_by( )]] --- <div style="height: 160px; overflow:hidden;"> <img src="../images/monsters/groupby_age_monsters_pipe.png" style="width: 96%; margin-top: 4px;"> </div> -- <div style="margin-top: 4px; overflow:hidden; "> <img src="../images/monsters/groupby_age_monsters_pipe.png" style="width: 75%; margin-top: -124px;"> </div> --- class: inverse, middle, center # .bigger[.blue[group_by( )]] %>% # .bigger[.blue[summarize( )]] --- <div style="height: 145px; overflow:hidden;"> <img src="../images/monsters/groupby_summarize_pipe_monsters0.png" style="width: 96%; margin-top: 4px;"> </div> --- <div style="height: 145px; overflow:hidden;"> <img src="../images/monsters/groupby_summarize_pipe_monsters1.png" style="width: 96%; margin-top: 4px;"> </div> --- <div style="height: 145px; overflow:hidden;"> <img src="../images/monsters/groupby_summarize_pipe_monsters2.png" style="width: 96%; margin-top: 4px;"> </div> --- <div style="height: 145px; overflow:hidden;"> <img src="../images/monsters/groupby_summarize_pipe_monsters3.png" style="width: 96%; margin-top: 4px;"> </div> -- <div style="margin-top: 0; overflow:hidden; "> <img src="../images/monsters/groupby_summarize_single_monsters2.png" style="width: 95.5%; margin-top: -2px;"> </div> --- class: inverse, middle, center # .bigger[.blue[Multiple]] # .bigger[.blue[summarize( )]] --- <div style="height: 145px; overflow:hidden;"> <img src="../images/monsters/groupby_summarize_pipe_monsters3.png" style="width: 96%; margin-top: 4px;"> </div> --- <div style="height: 170px; overflow:hidden;"> <img src="../images/monsters/groupby_summarize_pipe_multi_monsters1.png" style="width: 103%; max-width: 103%; margin-top: 4px;"> </div> --- <div style="height: 170px; overflow:hidden;"> <img src="../images/monsters/groupby_summarize_pipe_multi_monsters2.png" style="width: 103%; max-width: 103%; margin-top: 4px;"> </div> -- <div style="margin-top: 20px; overflow:hidden; "> <img src="../images/monsters/groupby_summarize_multi_monsters2.png" style="width: 100%; margin-top: 0;"> </div> --- class: inverse, center, middle # <i class="fas fa-carrot" aria-hidden="true"></i> [Back to Videos](https://tidy-mn.github.io/R-camp-penguins/page/videos.html)