R programming for beginners: Select, filter and fill functions within the tidyverse

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ต.ค. 2024
  • Learning R couldn't be easier. In this video, Greg and Andrew walk you through some tips and tricks for R programming. This is an R programming for beginners videos. If you're wanting to do data wrangling or data manipulation using R then this is a good place to start.
    This channel is supported by Nested Knowledge - an online platform that supports the entire literature review process. Please do check them out at this link: my.nested-know...
    Please check out Andrew's channel here on TH-cam here: / @equitableequations

ความคิดเห็น • 23

  • @RProgramming101
    @RProgramming101  ปีที่แล้ว

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

  • @frederickkgagane
    @frederickkgagane 13 วันที่ผ่านมา +1

    Thank you for the video.

  • @yamaahmady1381
    @yamaahmady1381 2 หลายเดือนก่อน

    Thank you Greg and Andrew. Great content!

  • @IarukaSkYouk
    @IarukaSkYouk ปีที่แล้ว +1

    Greg and Andrew, you've just taught me a new thing today. Thank so much, guys!!

  • @zaktin100
    @zaktin100 ปีที่แล้ว

    These videos are just wonderful. Rich with information and practical.

  • @haraldurkarlsson1147
    @haraldurkarlsson1147 ปีที่แล้ว +1

    Nice presentation. Thanks to both of you. I noticed that the location values are in a not-so-friendly format. There is a lat column which I presume is latitude and a longitude column. However, it looks like the values have been scrambled somehow since there is a longitude value (N) in the latitude column column and a latitude value (W) in the longitude column in row 9. Moreover, typically when working with latitude and longitude we use plus and minus rather than the usual cardinal directions (so latitude from -90 to +90 and longitude from -180 to +180).

  • @elizabethpalu2447
    @elizabethpalu2447 ปีที่แล้ว

    Excellent video!! Thank you both!

  • @robstewart8531
    @robstewart8531 ปีที่แล้ว

    Loving R more and more!

  • @Schmelena
    @Schmelena ปีที่แล้ว

    So great!!! Thank you

  • @MizuyMikal
    @MizuyMikal ปีที่แล้ว

    First, an excellent presentation by both of you.
    Andrew, regarding your data set. It would appear that the latitudes and longitudes have been reversed in your data set (set 1a Lat 87.82, long 42.15, set 2a lat 42.15, long 87.49).
    Data entry errors happen. Would there be a way of correcting this in R, or would you have to go back to the original data (*.csv, *.xlsx, etc) to correct this?

  • @pipertripp
    @pipertripp ปีที่แล้ว

    This is great!!! One thing I’ve noticed is that the native pipe doesn’t support the. operator like the maggritr pipe does.

    • @gianluca.pastorelli
      @gianluca.pastorelli ปีที่แล้ว

      I think the native pipe uses underscore (_) instead of dot (.)

  • @jeremiahmuuo6407
    @jeremiahmuuo6407 ปีที่แล้ว +1

    Greg ....💯💯.

  • @CanDoSo_org
    @CanDoSo_org ปีที่แล้ว

    Hi, Gred and Andrew, Many thanks for your great tutorials. I got a question for you. How come {starwars %>%
    filter(eye_color == c("blue","yellow","red"))} works but gets different results compared to {starwars %>%
    filter(eye_color %in% c("blue","yellow","red"))}; while {msleep %>%
    filter(name == c("Cow","Dog","Horse")) } does not work at all, only {msleep %>%
    filter(name %in% c("Cow","Dog","Horse"))} works? I am a little confused.

  • @saltydog78
    @saltydog78 ปีที่แล้ว

    . . . I wonder what the shortcut to the native pipe is on Mac?

  • @brittnyfreeman3650
    @brittnyfreeman3650 ปีที่แล้ว

    Hey Greg, what if I wanted to group the data first, and then fill the NAs with the mean or median, or mode of each group?

    • @afonsoosorio2099
      @afonsoosorio2099 ปีที่แล้ว

      @Brittny, the way I understood, the data capturer or recorder, collected the data and filled in the first rows and left the subsequent rows that have the same records or data points for efficient reasons. That is where the Fill() function becomes handy to fill down programmatically those constant records. The values were not entirely "missing". To be precise, the fill() function is complementing the field data collection work.
      So it would be inappropriate to go for imputation (applicable in data cleaning), unless I missed something out.
      Boom chaka laka, easy just like taking breakfast in the morning!

  • @korman9872
    @korman9872 ปีที่แล้ว

    Tx sir

  • @abnambro1000
    @abnambro1000 ปีที่แล้ว

    Wow🏆

  • @SamarthDThakore27
    @SamarthDThakore27 ปีที่แล้ว

    ♥️

  • @mocabeentrill
    @mocabeentrill ปีที่แล้ว

    Didn't know about the new pipe operator, it be looking sexy.

  • @Funway20
    @Funway20 ปีที่แล้ว

    There is no CSV file Did not understand any thing