Hello community, I am trying to filter my data using its index, but I keep getting this error.
longer object length is not a multiple of shorter object length
I don't understand why this is happening, because I didn't do any mathematic operations. I want to exclude certain rows, but it doesn't work. Can someone help me with this?
Thanks in advance!
G$Index <- as.character(G$Index)
narr <- G %>%
filter(Genre == "narrative", Index != c("12","21","20","16","23","11","13")) %>%
select(Index, File.name,Word.count.tier.1, Length.of.recording) %>%
arrange(desc( factor(Word.count.tier.1)))