This package is under construction and (will) contain functions for partitionning in space occurrences datasets for multiple taxa in order to compare their genetic patterns for example.
For installing the package: First install the package devtools if necessary. Then:
devtools::install_github("gdauby/genmap")
An example dataset containing coordinates (decimal degrees) and taxa information
library(genmap) data(data.used) data.used
The function grid_couting_tax is used for partitionning the data into a grid of a given resolution
results <- grid_couting_tax(data = data.used ,long = "lon", lat = "Lat", sp = "ID_Species", resolution = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.