Today I learned in R - native pipes and the cut function

preview_player
Показать описание
In this episode of Today I Learned in R programming, Greg and Andrew discuss the new native pipe operator being used in R studio and how to understand the bins you create when you use the cut function in R. If you're doing statistical analysis or interested in data science then these videos are for you!

Greg and Andrew invite you to subscribe to each others channels. Here are the details:

Рекомендации по теме
Комментарии
Автор

Cut function is very useful. Thanks, Greg and Andrew.

CanDoSo_org
Автор

Great job Greg and Andrew. You inspire me.

omegacares
Автор

Great as usual. Thank you so much for your great videos.

muhammedhadedy
Автор

R maestro Hadley Wickham and coauthors are using the native pipe exclusively in their second edition of R4DS (R for Data Science).

haraldurkarlsson
Автор

Thank you so much, now I can use these shortcuts. I was also hoping if you cover survival analysis one day.

utubemoitral
Автор

Hey profesor!
I have been learning a lot with your videos, I really appreciate you work, I want to suggest "strings wrangling" as a theme, because a lot of time you have to clean categorical variables and sometimes is really hard to figure it out how handle this type of data... thanks so much for the great work!

matiasvalenzuela
Автор

Great explanation!

Quick question to Dr Creig,

In the cut function of 0, 50 which means >0 and <=50

For example, incase you have an obs. with a mass of 0 and you want to discretize this variables with the above condition does it gonna ignore that row with 0?

Thank you

im_karamo
Автор

Thank you. Is this cut() function same as case_when () ? It seems both can be used interchangeably but not quite sure if there is any limitations!

brainstorminghws
Автор

hello professor, you really have great videos. I always watch your video for study. I hope you can make a video about random variate generating (methods) and random variate generating for linear regression. Thank you

jessicamichaelis
Автор

Good afternoon, I'have the problem with cut function :indagineP <- cut(TabCont, breaks = c(0, 15, 20, 35, 201), right = FALSE), in the console i see only [0, 15) level : [1] [0, 15) [0, 15) [0, 15) [0, 15) [0, 15) [0, 15) [0, 15) [0, 15) [0, 15) [0, 15) [0, 15) [0, 15) [0, 15) [0, 15) [0, 15) [0, 15)

alessandrorosati
Автор

Can you please tell me, why people prefer using simple plot in healthcare companies for visualizations and not ggplot.

Thank you for your vidoes. %>%
best

davidispiryan
Автор

What types of jobs would use R in industry? Public health data analyst ?

ryansandy