splitConnMat: Split connectivity matrix into subpopulations

Description Usage Arguments Value Author(s) References See Also

View source: R/jacobi_etal_2012.R

Description

This function tries to optimally split a given subpopulation into two smaller subpopulations.

Usage

1
2
3
4
5
6
7
8
9
splitConnMat(
  indices,
  conn.mat,
  beta,
  tries = 5,
  threshold = 1e-10,
  alpha = 0.1,
  maxit = 500
)

Arguments

indices

vector of indices of sites in a subpopulation

conn.mat

a square connectivity matrix. This matrix has typically been normalized and made symmetric prior to using this function.

beta

controls degree of splitting of connectivity matrix, with larger values generating more subpopulations.

tries

how many times to restart the optimization algorithm. Defaults to 5.

threshold

controls when to stop each "try". Defaults to 1e-10.

alpha

controls rate of convergence to solution

maxit

Maximum number of iterations to perform per "try".

Value

List with one or two elements, each containing a vector of indices of sites in a subpopulations

Author(s)

David M. Kaplan dmkaplan2000@gmail.com

References

Jacobi, M. N., Andre, C., Doos, K., and Jonsson, P. R. 2012. Identification of subpopulations from connectivity matrices. Ecography, 35: 1004-1016.

See Also

See also optimalSplitConnMat, recSplitConnMat, subpopsVectorToList


dmkaplan2000/ConnMatTools documentation built on Feb. 8, 2020, 4:41 p.m.