Learn R Programming

ConR (version 1.2.4)

subpop.comp: Subpopulations computation following Circular buffer method

Description

Compute subpopulations follwing the Circular buffer method (see reference)

Usage

subpop.comp(XY,Resol_sub_pop)

Arguments

XY

Dataframe, coordinates in decimal degrees of one species, latitude in first colum,, longitude in second column

Resol_sub_pop

Numeric, radius of circles in kilometres

Value

A list, two elements:

  1. first element The number of subpopulation

  2. second element A shapefile of the subpopulations

Details

Circular buffer method of Rivers et al. 2010 Each unique occurrence is buffered with a circle of a radius of Resol_sub_pop km. Overlapping circles are merged to form a single subpopulation, while non-overlapping circles are considered as separate subpopulations.

References

Rivers CM, Bachman SP & Meagher TR, 2010, Subpopulations, locations and fragmentation: applying IUCN red list criteria to herbarium specimen data, Biodiversity Conservation 19:2071-2085

Examples

Run this code
# NOT RUN {
data(dataset.ex)
data(land)

SUB <- subpop.comp(dataset.ex, Resol_sub_pop=25)
plot(SUB[["Platycoryne guingangae"]][["subpop.poly"]], col="red")
plot(land, add=TRUE)
# }

Run the code above in your browser using DataLab