Learn R Programming

ConR (version 1.3.0)

subpop.comp: Number of subpopulations

Description

Estimate the number of locations following the method **circular buffer method**

Usage

subpop.comp(XY, Resol_sub_pop = 5)

Arguments

XY

string, indicating the method used for estimating the number of locations. Either "fixed_grid" or "sliding scale". See details. By default, it is "fixed_grid"

Resol_sub_pop

numeric. Defines in kilometers the radius of the circles around each occurrence

Value

A list with one list for each taxa containing [[1]]Number of subpopulation and [[2]]SpatialPolygons.

Details

Input as a dataframe should have the following structure:

It is mandatory to respect field positions, but field names do not matter

[,1] ddlat numeric, latitude (in decimal degrees)
[,2] ddlon numeric, longitude (in decimal degrees)
[,3] tax character or factor, taxa names

References

Rivers MC, Bachman SP, Meagher TR, Lughadha EN, Brummitt NA (2010) Subpopulations, locations and fragmentation: applying IUCN red list criteria to herbarium specimen data. Biodiversity and Conservation 19: 2071-2085. doi: 10.1007/s10531-010-9826-9

Examples

Run this code
# NOT RUN {
data(dataset.ex)
# }
# NOT RUN {
subpop <- subpop.comp(dataset.ex, Resol_sub_pop = 5)
# }
# NOT RUN {

# }

Run the code above in your browser using DataLab