dplyr Package in R | Introduction, Tutorial & Programming Examples | Data Manipulation in RStudio

preview_player
Показать описание
R code of this video:

x2 = c(1, 2, 2, 3, 1, 2),
x3 = c("F", "B", "C", "E", "A", "D"))
data # Print example data

library("dplyr") # Load dplyr package

arrange(data, x3) # Apply arrange function

filter(data, x2 == 2) # Apply filter function

mutate(data, x4 = x1 + x2) # Apply mutate function

pull(data, x2) # Apply pull function

rename(data, new_name = x3) # Apply rename function

sample_n(data, 3) # Apply sample_n function

select(data, c(x2, x3)) # Apply select function
Рекомендации по теме
Комментарии
Автор

You are the best RStudio tutor ever. Thank you for your wonderful videos.

aartisingh
Автор

Just found out your channel today. I'm using R coding to analyse data for my master thesis and this is of GREAT help right now. Thank you so much for your content!

andressatb
Автор

This has come handy since myself and a team of about 80 people we are just ending our 6th week today learning R Programming. I will be able to share the link to learn more. Thank you.

peninahkaromo
Автор

Your videos are very informative. Thank you so much for maintaining this R video series.

It would be very helpful for your subscriber if you could explain dynamic use of these commands.

Thank you so much once again.

Singpritaam
Автор

Very nice video to simplfy data wrangling. thanks

tarkanh
Автор

Good job, we hope more
Thanks (شكرا جزيلا )

abbashakam
Автор

Thank you for spending your time helping us

erietabou
Автор

Thank you. One suggestion is to show these in a pipeline (%>%). I was using dplyr some time before I discovered magittr and I really think it helped write more readable code.

mikecroom
Автор

All of your tutorials are excellent. Will you abe to make a R tutorial on sampling point map? Thank you

govindashrestha
Автор

Nice video and simplified version. I am still not clear with the set.see function that why you chose 765?

deeptimittal
Автор

Thanks you.Your opinion about pandas vs dplyr?

ibragim_on
Автор

Thank you so much for the videos! I'm having a problem writing this code without pipe operator
data%>%
ggplot(aes(x=gpa, y=outcome))+ geom_point()
I'd appreciate so much if you can write it here so that I can study the solution. I'm a beginner and sometimes I get stuck with coding.

datascience
Автор

How to load dataset in Rstudio version 4.3.2?
How to run machine learning algorithms logistic regression, svm, knn, and decision tree in Rstudio version 4.3.2

SidraTulMuntaha-byck
Автор

There are some things like %d, %f, %s and so on....which my tacher is using. Can you refer me to some video explaining these and giving me list of all tgese along with their purpose

Rsingh
Автор

df %>% rows_update(df, by=index) is working or not

awinkumar-eelr
join shbcf.ru