Can you please show all steps and if you use R studio please give me the function

Posted Date: