Spgc2BioGeoBEARS | R Documentation |
Convert an object of the class spgeoOUT
in the format to be used as geography input for BioGeoBEARS.
Spgc2BioGeoBEARS(x, phyl = NULL, file = NULL, true.areas = TRUE, true.species = TRUE)
x |
an object of the class |
phyl |
an object of the class |
file |
character. The complete path and filename to the outputfile. |
true.areas |
logical. If TRUE, areas with 0 species are removed from the matrix. Default = TRUE. |
true.species |
logical. If TRUE, species not occurring in any area are removed from the matrix. Default = TRUE. |
This will create a file in the working directory.
A file in the working directory and a list.
See https://github.com/azizka/speciesgeocodeR/wiki for more details and tutorials.
Alexander Zizka, Ruud Scharn
## Not run:
data(lemurs)
data(mdg_poly)
outp <- SpGeoCod(lemurs, mdg_poly)
conv <- Spgc2BioGeoBEARS(outp)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.