Wybierz kolumny w R
df %>% select(column1, column2)
adriendums
df %>% select(column1, column2)
### Solution 2
library(dplyr)
df %>%
select(A, B, E)
### Solution 2
new_df <- subset(df, select=c("A", "B", "C"))
my_data %>% select(Sepal.Length:Petal.Length)