Use pivot_longer() to shape and manipulate your data. R programming for beginners.

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024
  • Use pivot_longer() to change data from wide to long data. This is part of the R programming for beginners series. If you are learning data analysis or statistics, then this video is for you. Data scientists using R often need to shape and manipulate their data (sometimes called data wrangling). Both pivot_longer() and pivot_wider() are part of the tidyverse set of functions that make R programming easier.
    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: about.nested-k...?&RPYT

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

  • @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

  • @gianluca.pastorelli
    @gianluca.pastorelli 2 года назад +2

    This function is especially useful for creating, for example, line graphs with multiple lines, where each line represents a variable in the wide version of the dataset. Thanks for the video!

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

    Thank you so much. I'm getting back into r and your channel has been a blessing. This particular video has just solved a big issue for me.

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

    Hi there I really love your videos as they are so amazing and easy to follow up with them. But, I have recently taken a written text in R language, but the questions were so different. I really love to share the questions with you and solve the questions that I didn't figure out. Thank you so much in advance.

  • @robertocaccini
    @robertocaccini 4 месяца назад

    very helpful thanks

  • @muhammedhadedy4570
    @muhammedhadedy4570 2 года назад +2

    Great as usual. Would you please create a tutorial on how to use R markdown, and what its implications are?
    Thanks in advance.

  • @Shawn-gm4cf
    @Shawn-gm4cf 2 года назад +1

    Great content. Thank you as always.

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

    AMAZING CONTENT!!! More videos pleaseeeeeee

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

    thanks for the nice video. Would you please do a video for join and left join?

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

    Your work so good, also do a video on data imputation especially MICE for starwars, I know it'll be lit

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

    Thanks, sir for such easy and understandable explanations. Is this function (pivot_longer) opposite of function "gather" to create a long format?

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

    heat mapping, make one on heat maps

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

    Great Chanel and tutorials. There is a issue that I'm struggling with....maybe you can help me with it....I'm trying to counting all occurences of numbers in a data frame. I can easily acomplish it in excel but in R....hummm.... I have a df with variables from V1 to V10. Numbers in this vars can vary from 1 to 15 and rows keep growing each day. What I'm looking for is a way to get the frequencies of this numbers in entire df at once. In excel is just a matrix formula....frequency() where we feed in the data (numbers) that we want to sumarise and the range where to count this numbers....but in R I did not get yet a way to do this....Have you ever gone through this?

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

    Would you consider creating another channel just for SAS? If you so happen to use it

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

    When I try with my own data X value appeared in front of each column entity which is not in the wide data would you help me please ?

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

    Help understand date filtering and conversion

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

    Hey, I'm trying to use this with the data "ldeaths" in R but an error appeared saying I can't convert it because it's a class ts. What can I do to get around this?
    Thanks in advance and for your videos 🙏