Learn R Programming

speciesgeocodeR (version 1.0-4)

speciesgeocodeR-package: Prepare Species Distributions for the Use in Phylogenetic Analyses

Description

Preparation of species occurrences and distribution data for the use in phylogenetic analyses. SpeciesgeocodeR is built for data cleaning, data exploration and data analysis and especially suited for biogeographical and ecological questions on large datasets. The package includes the easy creation of summary-tables and -graphs and geographical maps, the automatic cleaning of geographic occurrence data, the calculating of coexistence matrices and species ranges (EOO) as well as mapping diversity in geographic areas.

Arguments

Details

Package:
speciesgeocodeR
Type:
Package
Version:
1.04
Date:
2015-10-17
License:
GPL-3
The core functions of the package can be used via the wrapper function SpeciesGeoCoder, with two input text files and one single command. In addition to this the package includes a set of functions to visualize geographic distribution data and diversity.

Examples

Run this code
## Not run: 
# data(lemurs)
# data(mdg_poly)
# 
# SpeciesGeoCoder(lemurs, mdg_poly)
# conv <- Spgc2Biogeobears(outp)
# ## End(Not run)

data(lemurs)
data(mdg_poly)
inp <- ReadPoints(lemurs, mdg_poly)

outp <- SpGeoCodH(inp)
e <- c(42, 52, -27, -10)
ivesia_abu <- RichnessGrid(outp, e, reso = 60, type = "abu")

outp <- SpGeoCodH(inp)
e <- c(42, 52, -27, -10)
lemurs_div <- RichnessGrid(outp, e, reso = 60, type = "spnum")
MapGrid(lemurs_div)

Run the code above in your browser using DataLab