Learn R Programming

spaa (version 0.2.2)

turnover: Calculating species turnover

Description

Calculating species turnover based on the mean value between focus quadrat and their neighbours.

Usage

turnover(lab.mat, dist.mat, type = c("quart", "octal"))

Arguments

lab.mat
matrix of quadrat labels.
dist.mat
distance matrix between each pair of quadrats
type
"quart" indicates four neighbouring quadrats, "octal" indicate eight neighbouring quadrats.

Value

matrix with species turnover.

Details

species turnover based on the mean value between centred quadrat and its neighbours.

References

Lennon J. 2001 The geographical structure of British bird distributions - diversity, spatial turnover and scale Journal of Animal Ecology 70,966-979

See Also

XYname and lab.mat

Examples

Run this code

##example turnover()
plotlab1 <- XYname(4,6)
xxx <- 1:240
dim(xxx) <- c(24, 10)
rownames(xxx) <- plotlab1
### Distance between each pair of plots
ddd <- dist(xxx)
### label matrix
labmat1 <- lab.mat(plotlab1)
yyy <- turnover(labmat1, ddd)

Run the code above in your browser using DataLab