I've entered my data into R using the following command...
Country_Data <- read.csv("Country Data.csv", row.names = 1)
With the following result...
Criteria 1 Criteria 2 Criteria 3
[Country A] x x x
[Country B] x x x
[Country C] x x x
...
[Country Z] x x x
In the process of my coding I created a subset influential_countries
similar to the following...
Criteria 4
[Country E] x
[Country F] x
[Country J] x
I would like to delete this subset of countries from Country_Data. In other words, I would like to remove Countries E, F, and J. I attempted the following code without much luck...
Country_Data_clean <- Country_Data[-c(influential_countires), ]
Any suggestions on how to remove would be greatly appreciated!