EcoGenetics (version 1.2.1-6)

int.break: breaks obtention

Description

breaks obtention

Usage

int.break(
  XY,
  int = NULL,
  smin = 0,
  smax = NULL,
  seqvec = NULL,
  nclass = NULL,
  size = NULL,
  bin = c("FD", "sturges"),
  latlon = FALSE
)

Arguments

XY

data frame or matrix with individual's position.

int

Distance interval in the units of the @XY slot data.

smin

Minimum class distance in the units of the @XY slot data.

smax

Maximum class distance in the units of the @XY slot data.

seqvec

Vector with breaks in the units of the @XY slot data.

nclass

Number of classes.

size

Number of individuals per class.

bin

Rule for constructing intervals when a partition parameter (int, nclass or size) is not given. Default is Sturge's rule (Sturges, 1926). Other option is Freedman-Diaconis method (Freedman and Diaconis, 1981).

latlon

Are the coordinates in decimal degrees format? Defalut FALSE. If TRUE, the coordinates must be in a matrix/data frame with the longitude in the first column and latitude in the second. The position is projected onto a plane in meters with the function geoXY.

kmax

Number of nearest neighbors.