gcube could be used in parallel with the virtualspecies package.
The difference would be that the input data for virtual species are bioclimatic variables while gcube starts from and empty polygon.
There are 3 points where output from virtualspecies can be implemented in gcube:
Environmental suitability map into the occurrence process
Aggregation function to resample at new resolution
Link function (?rescale_suitability_raster()) to transform virtual species suitabiliity map to raster which can be sampled by sample_occurrences_from_raster() in the simulate_occurrences() function
Presence-absence map into the detection process
Link function (?occurrences_from_raster()) to transform raster to point sf object (centroids)
Sampled presence points into the grid designation process
Link function (?virtual_occurrences_to_sf()) to transform virtual species object to sf object such that it can be used by add_coordinate_uncertainty() and grid_designation() functions
gcube could be used in parallel with the virtualspecies package. The difference would be that the input data for virtual species are bioclimatic variables while gcube starts from and empty polygon. There are 3 points where output from virtualspecies can be implemented in gcube:
rescale_suitability_raster()
) to transform virtual species suitabiliity map to raster which can be sampled bysample_occurrences_from_raster()
in the simulate_occurrences() functionoccurrences_from_raster()
) to transform raster to point sf object (centroids)virtual_occurrences_to_sf()
) to transform virtual species object to sf object such that it can be used byadd_coordinate_uncertainty()
andgrid_designation()
functions