Learn R Programming

Welcome to the Homepage of R Package spaa

spaa is an R package for conducting niche overlap analysis, to install it, please use the following command in R:

library(devtools)

install_github("helixcn/spaa")

If you haven't had devtools installed, please install it by typing "install.packages("devtools")" in R console.

Please feel free to send an email to the package maintainer Dr. Jinlong Zhang if you have any question or comments about this package.

Copy Link

Version

Install

install.packages('spaa')

Monthly Downloads

840

Version

0.2.5

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Jinlong Zhang

Last Published

January 8th, 2025

Functions in spaa (0.2.5)

niche.width

Niche width
data2mat

Convert field records to community matrix
testdata

A sample dataset s
turnover

Calculating species turnover
spaa-package

SPecies Association Analysis
sp.pair

Species association between each pair of species
niche.overlap.pair

Compute niche overlap index between two species
sub.sp.matrix

Subset species based on relative frequency
niche.overlap.boot.pair

Boostrap the niche overlap indices
sp.assoc

Analyzing species association
lab.mat

Convert vector of XY labels to label matrix
niche.overlap

Niche overlap between each pair of species
niche.overlap.boot

Boostrap niche overlap indices
XYname

Generating vector of XY labels
lgeodist

Low precision Great circle distance between two places
deg2dec

Degree to decimal
list2dist

Convert pairwise list to distance matrix
dist2list

Convert distance matrix to pairwised list
datasample

A sample dataset for a community
geodist

Hight precision Great circle distance between two places
splist

A sample dataframe showing species taxonomic information (Deprecated)
freq.calc

Compute species' relative frequency