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
Get my FREE cheat sheets for R programming and statistics (including transcripts of these lessons) here: www.learnmore365.com/courses/rprogramming-resource-library
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!
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.
Glad I could help!
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.
very helpful thanks
Great as usual. Would you please create a tutorial on how to use R markdown, and what its implications are?
Thanks in advance.
Yes, soon
Great content. Thank you as always.
Much appreciated!
AMAZING CONTENT!!! More videos pleaseeeeeee
thanks for the nice video. Would you please do a video for join and left join?
Yes I will
Your work so good, also do a video on data imputation especially MICE for starwars, I know it'll be lit
Glad you enjoyed it! Thanks for the suggestions!
Your videos are like Wow👍
Thanks, sir for such easy and understandable explanations. Is this function (pivot_longer) opposite of function "gather" to create a long format?
heat mapping, make one on heat maps
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?
Would you consider creating another channel just for SAS? If you so happen to use it
Thanks for the suggestion!
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 ?
Help understand date filtering and conversion
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 🙏