How to deselect item from column

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