Closed wfarmer-usgs closed 8 years ago
@tmills-usgs Take a look and let me know what you think. If you like, we can merge. I tried it out with the GUI in OLS and didn't seem to hit any errors.
You will see that i used warnings to document all cases. I like the idea of printing all the errors at once before stop. Nicely, it also helps ensure the logic works without stopping at every error.
Fixes #54 :clap:
Added substantial error checking on inputs to Influence, Leverage, Omega.GLS, WREG.GLS, WREG.OLS, WREG.WLS and Dist.WREG. Beacuse they are not used for the GUI, I did not address WREG.MLR (custom weight needs to be pulled out), WREG.RoI or either ROImatchMatLab function. Also redocumented all help files.