R temukan indeks dimana

which(df$col == query)
Cautious Caiman