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)


gdauby/genmap documentation built on May 6, 2019, 6:57 p.m.