--
You received this message because you are subscribed to the Google Groups "Israel R User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to israel-r-user-g...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Israel R User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to israel-r-user-g...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I forgot to change the second DATA to DF.
Try now:
filtered <- DF %>%
group_by(NAME) %>%
summarise( n=n() ) %>%
filter( n>=10 ) %>%
left_join(DF, by = "NAME") %>%
select(-n)