is that the count function from dplyr or another package ?
I don't understand how it wouldnt error as dplyr count doesnt support raw factors as parameters, rather it can be passed dataframes/tibbles...
not sure about what it means to 'subset into a new variable',
if you mean assign the result, then that would be <- which you have experience using.
Please let me know if you mean something else.
I think what I was trying to say is what you have written.
From the results that I get, I want to choose only those that freq > 1000.
So when I do plyr::count(countries), I get 47 countries. But I want to choose maybe 8 which has a freq > 1000.
The second part is where I don't understand how to choose results within results.