https://www.somethingsblog.com/2024/10/21/find-elements-in-r-vectors-3-essential-methods/