When we are selecting using item name in a specific column how to deselect some specific items in that selected column
Selection is a columnwise operation, it doesnt have meaning rowwise. It may be that you are asking how to filter, i.e. drop observations / entire rows, based on some criteria.
You will find a lot of material online about dplyr::filter()
1 Like
You can't "deselect" an element in a column; you would have to deselect the entire row (e.g. using slice()
). (Technically, if your data is just one column, then deselecting one row implies deselecting a single element in that column.)
1 Like
This topic was automatically closed after 45 days. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.