I have a dataframe m and I want to remove all the rows where the f_name column has an entry greater than 3. I assume I can use something similar to
m
f_name
For those looking for a tidyverse approach, you can use dplyr::filter:
dplyr::filter
m %>% dplyr::filter(nchar(f_name) > 3)