S4 class to manage SAMC data.
pThe transition probability matrix P.
sourceInformation about the data source for the P matrix
mapUsed to verify landscape inputs and mapping of vector data.
clumpsNumber of discontinuous regions in data
overrideUsed to prevent accidental use of memory intensive functions.
The samc class is used to help ensure that the package is used correctly and to minimize the possibility for users to accidentally produce nonsensical results that may not be obviously incorrect. This class contains the p matrix necessary for all the calculations in the package, and enforces its type so that users are less likely to inadvertently alter it in a way that will cause issues in calculations.
The class also contains a RasterLayer object derived from the input data. This object is used for checking inputs and mapping vector data in other functions.
Finally, an override flag is used to help ensure that users do not accidentally run memory intensive versions of functions that can cause their systems to become non-responsive or for software to crash.
The samc function is used to create samc-class
objects.