I\'m trying to run this code, but I\'m having some problem with the linfun function, and I don\'t know how to fix it.
The error is: "Error in linfun(a =