I would like to use R's unique rowid value to filter a dataset. Although my dataset is quite large, for ease of posting this query I've conceptualized the data table and the query that I'd like to run. I'm getting an error (Caused by error in row.names > 3) when I tried running the code. Any help appreciated.
temp <- data.frame(Text = c("a","b","c","d","e"))
a <- temp %>%
filter(row.names > 3)
Expected output
Text
4 d
5 e