Problem removing the outlier from ggplot

Hi @ebakhsol!

This (and any other) community is not intended for doing your work for you. We can guide you to the solution, but you'll have to put some efforts. After all, the problem is actually yours.

This particular message is very much self-descriptive. You already know that there are some missing values, and it specifically says that you're having problems because na.rm is set as FALSE. Have you tried changing it to TRUE?

Both the functions (quantile and IQR) that Andres used have an argument na.rm, which is set as FALSE by default. Try to change it and see what happens. In case you're unfamiliar to these functions, read the documentation.

If that does not solve your problem, please provide a REPRoducible EXample of your problem.

1 Like