I am stuck when trying to check equivalency of elements in a vector of strings
> head(vector_of_strings)
[1] " " "SC " " 2.6" "WT " " 1.0" "WT "
> is.character(vector_of_strings)
[1] TRUE
> "SC " %in% vector_of_strings
[1] FALSE
> "WT " %in% vector_of_strings
[1] FALSE
The vector seems to have elements that are equivalent, but reports otherwise. Should I modify the data type or check for equivalency in another way?