subseting a Tibble in R based on part of a column's string [closed]
I have a Tibble consisting of several thousand rows. Column A consists of a string of character. I wish to create a second tibble consisting of all rows where the final three characters of the string in column A is " pr". Can anyone help me, please? Many thanks.
![subseting a Tibble in R based on part of a column's string [closed]](https://cdn.sstatic.net/Sites/softwareengineering/Img/apple-touch-icon@2.png?v=1ef7363febba)
I have a Tibble consisting of several thousand rows. Column A consists of a string of character. I wish to create a second tibble consisting of all rows where the final three characters of the string in column A is " pr". Can anyone help me, please? Many thanks.