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
The obligatory data.table solution:
data.table
setDT(m) m[ nchar(f_name) <= 3 ]