Constructor of S3 objects of class master_matrix
Usage
new_master_matrix(data_matrix, preselected_sites = NULL, region,
mask = NULL, raster_base, PCA_results = NULL)
Arguments
- data_matrix
date.frame with information about geographic location of raster cells, initial environmental data, and if available, the first two principal components derived from an analysis done with environmental values.
- preselected_sites
data.frame containing sites that must be included in posterior selections of sites for the survey system. Columns must be: "Sites", "Longitude", "Latitude", in that order. Default = NULL.
- region
SpatVector object representing the region of interest.
- mask
SpatVector object used. Default = NULL.
- raster_base
SpatRaster representing the grid of the raster layers used, which will be used for plotting purposes.
- PCA_results
results of principal component analysis performed with values from raster layers used. Default = NULL.