You can download the R code from this video here in my free skool community: www.skool.com/data-analysis-with-r-6607/classroom/daa88316?md=fafca7ecf1984ef78c9eda2c945fc07c
Thanks for watching, liking and commenting :) I wanted to include as much as possible without being to long or boring. Next video will be about pie charts.
I have a question. How do u change the order of the desplay. The factet grid follows alphabetical order. But i need and special order. For example the order in min 7:09 its Africa, Americas, Asia, Europe. But what if u want Europe first?
Just for transparency: I orginally used "labels" but it has to be "levels" otherwise the Africa data just got re-labeld with Europe instead of ordering the levels new.
Thanks for the feedback. Really great to have someone that posts some extra useful functions. I knew the slice() function and remember now using it in the past after arrange to only select the top 3 of something. But wasn't aware that there is slice_sample(). So thanks again :)