Description Usage Arguments Details Examples
Function calculates fraction of areas occupied by one population on areas occupied by another population.
1 | SpecificArealOverlap(data, col = 1)
|
data |
matrix or data frame including two colums - one for each population's distribution. |
col |
numeric integer indicating the column in which the species if interest in given, Default = 1. |
The specific areal overlap is defined as the area occupied by both populations devided by the area occupied by one of these populations.
1 2 3 4 5 6 7 8 9 10 11 12 | #Example shows water column occupied by clupeid fish and cod
df <- data.frame(Clupeids = c(0,1,1,1,1,0),
Cod = c(0,0,0,1,1,1))
#Calculating specific areal overlap for clupeids and cod, respectively
clu <- SpecificArealOverlap(df, col = 1) * 100
cod <- SpecificArealOverlap(df, col = 2) * 100
paste(clu, "% of the water layers occupied by clupeid fish are also occupied by cod.", sep = "")
paste(cod, "% of the water layers occupied by cod are also occupied by clupeid fish.", sep = "")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.