Playback starts YouTube’s embedded player (privacy-enhanced mode).
R Tutorial - Advanced Line Graphs with ggplot in RStudio - YOY!
ChannelTech Know HowDescription from the creator
In this video tutorial we will show you exactly how to make enhanced and advanced line graphs that include a YOY (Year Over Year) graph. We will use the kableExtra library and kable function to make our data look better. We will then go step by step through line graphs and enhanced line graphs.
We will make two separate ggplot commands for graphing each years plot and then we will combine them into one. I will also show you some extras like aggregating the data by month from daily data. Daily data would be rather messy or unsightly in a YOY (Year over Year) graph, so we will aggregate it to monthly.
Join in the insightful discussions and more on my new FaceBook Data Science group. It's packed full of great free resources, code, cheatsheets, expert advice and much more! facebook.com/groups/2558540907733212/
Then we will enhance the graph with a title, subtitle and caption. The graph will become overloaded in R with all our enhancements so it won't display a legend on top of everything we are doing. But that is fine. It will be a great looking graph you can be proud of and easily replicate to any time range. The best part is you can make a reusable process that will digest daily data, get it in the right format and then aggregate it and create YOY line graphs for you.
I hope you found this video on creating line charts in r interesting and helpful.
Please take a moment to subscribe, like and share. Be sure and click the bell so that you will be notified each time I publish a great video like this one.
Thanks again and God bless!
We will make two separate ggplot commands for graphing each years plot and then we will combine them into one. I will also show you some extras like aggregating the data by month from daily data. Daily data would be rather messy or unsightly in a YOY (Year over Year) graph, so we will aggregate it to monthly.
Join in the insightful discussions and more on my new FaceBook Data Science group. It's packed full of great free resources, code, cheatsheets, expert advice and much more! facebook.com/groups/2558540907733212/
Then we will enhance the graph with a title, subtitle and caption. The graph will become overloaded in R with all our enhancements so it won't display a legend on top of everything we are doing. But that is fine. It will be a great looking graph you can be proud of and easily replicate to any time range. The best part is you can make a reusable process that will digest daily data, get it in the right format and then aggregate it and create YOY line graphs for you.
I hope you found this video on creating line charts in r interesting and helpful.
Please take a moment to subscribe, like and share. Be sure and click the bell so that you will be notified each time I publish a great video like this one.
Thanks again and God bless!
About this tutorial
Tech Know How published this 14:28 video tutorial on May 2, 2020. It has been watched 8,243 times on YouTube.
- Channel
- Tech Know How
- Category
- Science & Technology
- Duration
- 14:28
- Published
- May 2, 2020
- Views
- 8,243
- Likes
- 60
Tags
Share
This tutorial in other languages
- FRR Tutorial - Advanced Line graphiques avec ggplot dans rstudio - en glissement annuel!
- ESR Tutorial - Advanced gráficos de líneas con ggplot en rstudio - Interanual!
- PTR Tutorial - Advanced Linha Gráficos com ggplot em rstudio - YOY!
- ITR Tutorial - Advanced Linea Grafici con ggplot in RStudio - su base annua!
- DER Tutorial - Erweiterte Liniendiagramme mit ggplot in RStudio - gegenüber dem Vorjahr!
- NLR Tutorial - Advanced Line grafieken met ggplot in RStudio - op jaarbasis!
- RUR Учебник - Advanced Line Графы с ggplot в RStudio - YOY!
- PLR Tutorial - zaawansowane wykresy liniowe z ggplot w RStudio - RDR!
- JAYOY - RStudioでggplotとアドバンスライングラフ - Rのチュートリアル!
- ARR دروس - الخط المتقدم الرسوم البيانية مع ggplot في RStudio - YOY!
- HIआर ट्यूटोरियल - YOY - में RStudio ggplot के साथ उन्नत लाइन रेखांकन!
- IDR Tutorial - Advanced Jalur Grafik dengan ggplot di RStudio - YOY!