In a good question, we should be able to copy-paste your code into the repl and get the same error that you are asking about.
Please provide code that reproduces the error you are getting. If the error happens due to missing values in the data, then provide code that generates data with missing values.
Thanks for this assurance. Knowing that it had worked for you helped me find (someone else’s overloading error).
Apologies. I will try to present questions in a better format next time.
Still, your input helped here.
Thanks!
This error is probably worth noting, because it is from a Notebook from the standard translation of ISLR into Julia - Chapter 3. In the notebook there is a macro defined called ‘predict’ which overloads the standard ‘predict’ function. If the name of the macro is changed, there is no overloading, and everything works fine.