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

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024
  • 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.

Комментарии • 52

  • @RProgramming101
    @RProgramming101  Год назад +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 3 года назад +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  3 года назад +1

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

  • @evedickson2496
    @evedickson2496 2 года назад +1

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

  • @Carnezu
    @Carnezu 3 года назад +2

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

  • @faridrasi5633
    @faridrasi5633 3 года назад +1

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

  • @caduguimaraes
    @caduguimaraes 3 года назад +2

    Welcome back Sr

  • @haraldurkarlsson1147
    @haraldurkarlsson1147 3 года назад

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

  • @ismailay.jammeh6698
    @ismailay.jammeh6698 3 года назад +1

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

  • @H0tinNYC
    @H0tinNYC 3 года назад +1

    Thank you for uploading these!!

  • @traveldesire8058
    @traveldesire8058 3 года назад

    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

  • @user-ww7of4ub5m
    @user-ww7of4ub5m 10 месяцев назад +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?

  • @bathfun
    @bathfun 3 года назад +2

    Really useful, thank you.

    • @RProgramming101
      @RProgramming101  3 года назад

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

  • @sekander1253
    @sekander1253 3 года назад

    Many thanks for this crystal clear video.

    • @RProgramming101
      @RProgramming101  3 года назад +1

      Glad it was helpful! More to come soon :)

    • @sekander1253
      @sekander1253 3 года назад

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

  • @Xdianaandini
    @Xdianaandini 3 года назад +1

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

  • @negusuworku2375
    @negusuworku2375 2 месяца назад

    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 ...

  • @manglem10
    @manglem10 3 года назад

    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??

  • @veroniquemigue7985
    @veroniquemigue7985 3 года назад

    Thank you! Very helpful!

  • @akshayavidhya9325
    @akshayavidhya9325 10 месяцев назад

    Thank you

  • @MimisChlympatsos
    @MimisChlympatsos Год назад

    great video sir!

  • @ben-dr3wf
    @ben-dr3wf 2 года назад

    Thanks a lot. V helpful

  • @CanDoSo_org
    @CanDoSo_org 2 года назад

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

  • @sujithsuresh2152
    @sujithsuresh2152 3 года назад +1

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

  • @michaeljohnson8353
    @michaeljohnson8353 3 года назад +1

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

  • @rabid2009
    @rabid2009 2 года назад

    thanks a lot sir

  • @maisamsna
    @maisamsna 3 года назад

    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.

  • @umarhussain5957
    @umarhussain5957 2 года назад

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

  • @-Srinu-ob2sk
    @-Srinu-ob2sk Год назад

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

  • @LisaNicole22
    @LisaNicole22 3 года назад

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

  • @herbertchitere4142
    @herbertchitere4142 3 года назад +1

    Thank you