hi everyone...i tried to run this code but i am getting the following error
"Error: Function definitions are not permitted at the prompt or in scripts."
Can anybody among you tell me how to overcome this problem...???
Yes this is possible, but there are two caveats:
1. You first need a criterion of your own for determining what defines an outlier.
2. You have to do a *little* extra coding to highlight the points. Here is an example where we highlight the most positive point only. This is the case because I deliberately have avoided adding too many extra features such as this into the function. The idea is to make it easy for others to modify the plots as needed.
Here is a toy example: