I'm currently working on a Homework, where I'm asked to subset a list of reviews to a new list containing only reviews with 5 or less words.
Using short_revs <- walk(mydoc, ~length(mydoc[[i]]) <= 5))
returns me the same initial List.
Can anyone help?