SyntaxFix
Write A Post
Hire A Developer
Questions
🔍
[r] R dplyr: Drop multiple columns
Home
Question
R dplyr: Drop multiple columns
You can try
iris %>% select(-!!drop.cols)
Examples related to
r
•
How to get AIC from Conway–Maxwell-Poisson regression via COM-poisson package in R?
•
R : how to simply repeat a command?
•
session not created: This version of ChromeDriver only supports Chrome version 74 error with ChromeDriver Chrome using Selenium
•
How to show code but hide output in RMarkdown?
•
remove kernel on jupyter notebook
•
Function to calculate R2 (R-squared) in R
•
Center Plot title in ggplot2
•
R ggplot2: stat_count() must not be used with a y aesthetic error in Bar graph
•
R multiple conditions in if statement
•
What does "The following object is masked from 'package:xxx'" mean?
Examples related to
dplyr
•
R dplyr: Drop multiple columns
•
How to specify "does not contain" in dplyr filter
•
Select first and last row from grouped data
•
Error: could not find function "%>%"
•
Sum across multiple columns with dplyr
•
Removing NA observations with dplyr::filter()
•
Changing factor levels with dplyr mutate
•
Change value of variable with dplyr
•
dplyr change many data types
•
What does %>% function mean in R?