It is important to remove the dependencies of "sits", to improve portability and reduce loading time. Package "ptw" is only used in one function (sits_whitakker). Package "signal" is only used in sits_sgolay. Package MASS is only needed for linear and quadratic discriminant analysis. To remove these dependencies, do as follows:
(1) Lift codes from "ptw" and "signal" packages and put them inside sits.
(2) Remove linear and quadratic discriminant analysis from machine learning methods.
It is important to remove the dependencies of "sits", to improve portability and reduce loading time. Package "ptw" is only used in one function (sits_whitakker). Package "signal" is only used in sits_sgolay. Package MASS is only needed for linear and quadratic discriminant analysis. To remove these dependencies, do as follows:
(1) Lift codes from "ptw" and "signal" packages and put them inside sits. (2) Remove linear and quadratic discriminant analysis from machine learning methods.