select & rename R Functions of dplyr Package (2 Examples) | Extract Column & Change Name of Variable

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

x2 = LETTERS[1:3],
x3 = 5)
data # Print example data

library("dplyr") # Load dplyr

select(data, c(x1, x3)) # Apply select function

rename(data, x1_new = x1) # Apply rename function
Рекомендации по теме
Комментарии
Автор

Why doesnt this work on my data. I've watched several videos on this and followed the steps but I keep getting error messages. It's frustrating

edimathomas-crkm
Автор

Hey Joachim, nice video.
The only issue I have is that when I clicked the link on the description for Statistics Globe nothing appeared.
I imagine there was an issue with the website.

agsoutas