You can use indexing operation on the left hand side of an assignment operation to remove or replace values in your data structure. The basic recipe looks like:
DataObject[IndexVector] <- NewValues
A note of caution: this is an irreversible operation, so make a backup copy of your data structure if you're uncertain what will happen:
backup_object <- DataObject
DataObject[LogicalCriteria] <- NewValues