R Tutorial - Advanced Line Graphs with ggplot in RStudio - YOY!

preview_player
Показать описание
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.

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!
Рекомендации по теме
Комментарии
Автор

I need something more simple and different. But that being said, this is maybe the 10th video about R I am looking at, and the very first that really attempts to explain anything. Before I saw your video, I felt such despair, that I was seriously thinking of making instructional videos professionally. With that number of incompetent dumbnuts as competition out there, it looked like a highway to stardom. You changed my mind. Thank you

truemamrdiall
Автор

your channel will break all the records very soon InshAllah

hamayoonshah
Автор

Good format, I like the livestream feel.

BrandonDriver
Автор

You didn't show how to change 1, 2, 3...12 to Jan, Feb, Mar... Dec. watched all video for that and no answer :(

auroragonzalotarodo
Автор

thank you for this. now for the x axis for line charts doesn't it have to be conclusive of numeric and time based data?

getting crazy things whenever I have text that has numbers i.e. not numeric type column

ahmedJaber
Автор

Can you please share your datasets (or a downloadable link) at least? even if you don't want to share code script.

filanor