Module #11 - Debugging

This assignment called to investigate a user created function and debug it to find any errors.

Here, I can see from resolving the first error that the correct input type is multi-dimensional. It can be concluded that while the function returns a vector, the function input is meant to be matrices and dataframes rather than vectors.

I was able to correct the user function by removing the unknown function call (tukey.outlier). While some resources on the web indicate this function call is valid in some spaces, it does not provided any benefit to the context of this function.

While it is difficult to see if the function is working properly as intended (All columns appear to contain outlier values), it does execute without error now.

Link to script on GitHub