I have this vector containing names of different countries:
Contries<-c("United States", "India", "Brazil", "France", "Mali", "Australia")
I want to extract only "France", then I want to extract all country names except the France, without using the index of France, but the name of France itself.
I tried these but they don't work.
Contries["France"]
Contries[!"France"]
Finally, I want to extract the names of all countries except France and Mali
Contries[!c("France","Mali")]
How can I do that?