How to use ggplot to create beautiful scatter plots. This is an R programming for beginners video.

Sdílet
Vložit
  • čas přidán 15. 02. 2021
  • Data visualisation is easy when you use ggplot. Ggplot2 is package and forms part of the tidyverse group of packages in R. Ggplot is used to create amazing plots and graphs. In this video I talk you though how to visualise two numeric variables and a categorical variable to produce a scatter plot and a linear model. If you’re interested in statistics or quantitative analysis, learning R programming would be extremely useful. This video forms part of the R programming for beginners series.

Komentáře • 52

  • @RProgramming101
    @RProgramming101  Před 11 měsíci +1

    Get my FREE cheat sheets for R programming and statistics (including transcripts of these lessons) here: www.learnmore365.com/courses/rprogramming-resource-library

  • @stellakalgoorlie5552
    @stellakalgoorlie5552 Před 3 lety +8

    Legend! as a R beginner, I watched all of your videos in two days, they saved my university life....I like when you mess around ggplot argument and come out with different graph and meanings, and would like to watch more like these! Please do more videos on more examples please please

    • @RProgramming101
      @RProgramming101  Před 3 lety +1

      Glad it helped and will definitely do more videos! Thank you for your feedback 🙂

  • @faridrasi5633
    @faridrasi5633 Před 2 lety +1

    Thank you so much! Clear and concise. Keep up the good work, Greg!

  • @evedickson2496
    @evedickson2496 Před 2 lety +1

    Best R resources I've found on CZcams.. thank you

  • @Carnezu
    @Carnezu Před 3 lety +2

    Thank you for all your helpful R videos. I linked your channel to my classmates, as we're all tackling R this semester. :)

  • @ismailay.jammeh6698
    @ismailay.jammeh6698 Před 3 lety +1

    Thanks for the videos.
    You make R look super simple!!!

  • @H0tinNYC
    @H0tinNYC Před 3 lety +1

    Thank you for uploading these!!

  • @user-ww7of4ub5m
    @user-ww7of4ub5m Před 9 měsíci +1

    Hi,
    I have tried running the below code based on the mpg data set as per your tutorial video:
    > mpg %>%
    + filter(hwy < 35) %>%
    + ggplot(aes(x = displ, y = hwy, colour = drv))+
    + geom_point()+
    + geom_smooth(method = lm, se = F)+
    + labs(x = “Engine size”, y = “MPG on the Highway”, title = “Fuel efficiency”)+
    I just wanted to check if I was perhaps doing something wrong?

  • @haraldurkarlsson1147
    @haraldurkarlsson1147 Před 3 lety

    In the words of Tina Turner: "Your simply the best..." . Great job as usual Greg. Keep those R (and statistics) videos coming. Thanks!

  • @caduguimaraes
    @caduguimaraes Před 3 lety +2

    Welcome back Sr

  • @traveldesire8058
    @traveldesire8058 Před 2 lety

    The teaching method is pedagogic, clear and understandable with excellent graphically sheen sharing.
    One of the best R courses on the web. Well done!
    I kindly ask you if you please could also record videos on an advanced use of R programming. Something regarding basic Spatial Analysis for movement ecology would be handy, in particular the package "adehabitatLH", "adehabitatHR" function "mcp", or package "lme4". Cheers

  • @manglem10
    @manglem10 Před 3 lety

    Very useful for me who is just starting R.
    Your recap is invaluable.
    If the plot is in black n white,
    Color of Points and lines will not be distinguishable so is there other way of showing points n line??

  • @CanDoSo_org
    @CanDoSo_org Před 2 lety

    Excellent teacher. I was wondering what is the marker app you are using?

  • @bathfun
    @bathfun Před 3 lety +2

    Really useful, thank you.

    • @RProgramming101
      @RProgramming101  Před 3 lety

      Glad you liked it.. .more oi these to come (for sure). I enjoy making them

  • @veroniquemigue7985
    @veroniquemigue7985 Před 3 lety

    Thank you! Very helpful!

  • @sekander1253
    @sekander1253 Před 3 lety

    Many thanks for this crystal clear video.

    • @RProgramming101
      @RProgramming101  Před 3 lety +1

      Glad it was helpful! More to come soon :)

    • @sekander1253
      @sekander1253 Před 3 lety

      @@RProgramming101 Thanks so much. I believe "learn by enjoying" is one of your top list mottos.

  • @negusuworku2375
    @negusuworku2375 Před měsícem

    Thank you Bro. It is fantastic and excellent. But I have a question how can i send ? My question is recoding or grouping using R for date converting them into Weeks for example from January 1-7 is week 1, January 8-14= week2 and etc ...

  • @maisamsna
    @maisamsna Před 3 lety

    How can I name each dot in the plot? For example, if I have a list of variables of different countries and wanna show which one belongs to which country.

  • @Xdianaandini
    @Xdianaandini Před 3 lety +1

    I hope you turn on the CC :( it's so helpful even if it's automated.

  • @ben-dr3wf
    @ben-dr3wf Před 2 lety

    Thanks a lot. V helpful

  • @akshayavidhya9325
    @akshayavidhya9325 Před 9 měsíci

    Thank you

  • @MimisChlympatsos
    @MimisChlympatsos Před rokem

    great video sir!

  • @rabid2009
    @rabid2009 Před 2 lety

    thanks a lot sir

  • @michaeljohnson8353
    @michaeljohnson8353 Před 3 lety +1

    can you please do a video explaining how to create one way anova using R studio?

  • @sujithsuresh2152
    @sujithsuresh2152 Před 3 lety +1

    sir can you do a video on how to plot a double coloumn graph using ggplot2?

  • @umarhussain5957
    @umarhussain5957 Před 2 lety

    Respected sir if u share ur scripts it will be more better

  • @-Srinu-ob2sk
    @-Srinu-ob2sk Před rokem

    What you saying sir. You keep on talking like a radio

  • @LisaNicole22
    @LisaNicole22 Před 3 lety

    Switching back and forth constantly is reaaaaaaaaaaallly annoying sorry.... trying to watch and do... !

  • @herbertchitere4142
    @herbertchitere4142 Před 3 lety +1

    Thank you