r drop column by name

R> subset(df, select=-c(z,u))
  x y
1 1 2
2 2 3
3 3 4
4 4 5
5 5 6

Are there any code examples left?
New code examples in category R
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Relative searches
remove column in r dataframe by name remove column in r dataframe by name match how to drop columns in pandas r dataframe remove column names in R dataframe drop column names in R remove columns cond of column names R r drop columns by name dplyr remove column from r data frame delete column from a dataframe with name in r how to delete a column of data in r drop a column from dataframe in r how to remove a column in a dataset in r r data delete column r dataframe remove columns by name delete a column in r remove culumn from dataframe r how to delete a column from a dataset in r how to delete column names in r remove a column from R dataframe data.table drop columns r delete column in dataframe r delete column by name in r drop columns from dataframe r remove column table in r r remove column names r data frame remove column by name remove columns from dataframe r delete column R delete one column in r r drop a column in dataframe r how to remove items from a column drop columns from dataset in r delete column in r r delete column drop column from matrix r drop column from dataframe r r remove columns from dataframe by name dataframe remove column as row r r dataframe remove column by name r studio drop columns of dataframe r r code to drop a column removing columns in dataframe r dataframe r delete column delete column names from dataframe r remove column names from dataframe r remove column from dataframe r remove column names in dataframe r r remove column by name data table drop a column in r data frame remove a column from a dataframe in r delete column in data.table r r dataframe drop column how to delete columns from dataframe in r drop column df in R how to remove a set of columns to_omit in dataframe r delete column by name drop columns data frame r how to delete a named column in R delete column in r by name r drop column by name
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source