I have a data.frame
of 176800 observations.
I want to remove rows when it fulfills the following condition:
full_data_string_split$split1=="SP#" & full_data_string_split$split2=="11"
I know this condition is fullfilled in 425 cases and it deletes 425 rows when I do the following:
full_data_string_split_removed1 <- full_data_string_split[!(full_data_string_split$split1 == "SP#" & full_data_string_split$split2 == "11"), ]
My question now is: How do I delete the row with the given condition and the following 207 rows to reduce my data.frame
to 88400 observations?