How to Solve R Error in Function: unused arguments

In R, if you try to call a function and pass arguments that are not defined, you will raise the error: unused arguments. The error message will indicate which argument is unnecessary, and you can remove it to solve the error. If you are using a built-in function, you...