When I read a CSV file R adds strange symbols at the very beginning, like this:
п.їCategory
But in the original file it's just
"Category"
Because of that problem I cannot refer to this variable.
I already checked the coding of the file, it's UTF-8. It contains some unusual symbols later (German umlauts), but not as varible names, so I don't understand why this problem appears here. Are there any ideas?..
data_id = read.table("subject-3.csv", stringsAsFactors = F, header = T, fill = T, sep="\t", na.strings=c("","NA"))