How do i tell ggplot to to plot points only if count is greater than X. I know this should be easy but i couldnt figure it out. something like
ggplot(items,aes(x=itemname,y=..count..))+geom_bar(y>X)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If I understand your question correctly (you haven’t provided example data), the easiest way is to generate your the data frame you want to plot outside of ggplot. So
Then plot