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

preview_player
Показать описание
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 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!

gianluca.pastorelli
Автор

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.

sam_mcl
Автор

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.

findthetruth
Автор

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

muhammedhadedy
Автор

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 ?

danieltemesgen
Автор

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

josephkimote
Автор

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

LGHNGMN
Автор

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 🙏

nateriver
Автор

what is we wanted the Columns to be tree 1-3, and row names to be what we see as column names

MarthaHernandez-rl
Автор

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

bassamsaleh
Автор

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?

marcoesteves
Автор

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

setarehsohail
Автор

Help understand date filtering and conversion

Sports_Encyclopedia