Introduction to Tidyverse in R - dplyr
link to mindfulness dataset: quantpsych.net/data/mindfulne...
learning objectives
tidyverse vs. R's way of doing things
what filter, arrange, select, mutate, and summarize do
selecting a range of columns (e.g., x1:x10)
selecting "not" columns (e.g., -(x1:x10))
understand auxiliary functions:
starts_with, ends_with, contains, group_by, desc
understand comparisons (&, |, ==, !=, %in%)
Exercise
filter to those over 18, create sum scores for mindfulness/stress/depression,
select only age and the total score columns, then summarize by group
Пікірлер: 9
The best channel to learn the hardest statistics in a fun way. Statistics is very hard for me but it's fun to learn from you. Thanks a lot.
Would be great if the video had chapters with the various function names such as filter, arrange etc for quick scrolling!
So helpful, thank you! Absolute must for anyone starting their first R project.
How is this guy has not got a medal of a sorts???!?!?!?!?!?!!!?!
To me the beauty of tidyverse is how readable the piping is. Maybe that's for another video, but it looks so much nicer that way and only takes a little bit of learning with regard to how piping works. :)
Well, goodbye Excel data manipulation. It's been real while it lasted. Thanks Dustin!
Not using the assignment arrow?
@QuantPsych
4 ай бұрын
Nope. I hate the assignment arrow. It's an extra keystroke and not necessary :)
dude redo the video. you should always use pipes.