dplyr::group_by() | How to use dplyr group by function | R Programming

preview_player
Показать описание
In this R programming tutorial, we give you a small course on the basics of the group_by function from the dplyr package. We cover simple grouping, grouping by condition, how to group by multiple columns and ungrouping (ungroup). Dplyr is an essential tool in RStats for data science! Stay tuned for more like this!

#R #dplyr #Rtutorial #Rprogramming #tidyverse #RStats #RStudio #datascience #DDS #DDSR
Рекомендации по теме
Комментарии
Автор

I like people like you who are straight to the point with simple explanation! Thank you so much.

giabawa
Автор

OMG! This literally saved me hours of headache from an option with %>% operator. Thank you!

natebenham
Автор

the double grouping is exactly what I wanted help figuring out. great, straight-to-the-point video, bless

jackchristie
Автор

Thank you. I've just discovered your channel. Very good videos about R!

johneagle
Автор

Hi,
Is it possible to create plots after using group by function

AI_
Автор

Hi, the video is very clear, thank you! I have a question about the function "summarise": ist it possible to insert a goodness of fit check? I would like to group my data and then check for each group of the values of a variable are normal distributed. Would it be possible with the function "summarise" or is there any other way to get it? Thank you in advance!

MB-qroh
Автор

Salut! Avec ton léger accent, j'en ai dédui que tu étais Québécois ;) J'aurais une question pour toi!
Dans mon DF, mes variables de ligne sont des entreprises (1 entreprise a plusieurs lignes, comme c'est le cas de la sorte de lys qui a plusieurs lignes) et mes variables de colonnes sont binaires (0/1). Je souhaite donc combiner mes variables de colonne en somme (au lieu de moyenne dans ton exemple). Je suis capable de le faire avec la formule suivante :
by_company <- group_by(test_sans_tweets, username)
sum_by_company <- summarise(by_company, sumlocal = sum(Local))
Cependant, j'ai plus de 500 colonnes. Y a-t-il un moyen de faire cette formule avec toutes les variables en même temps pour ne pas avoir à la copier-coller 500 fois? Merci beaucoup :)

productivitarts
Автор

excuse me sir, my coding cant find summarise and group_by function although i found the function in the rstudio packages

iamnotme
Автор

please help me with this
i need to categories time into early morning, morning, mid-day, afternoon, evening..please tell me the line of code for it..

poojamahesh
Автор

How did you make your RStudio Environment section become interactive?

tradingbills