selfRecruitment {ConnMatTools}  R Documentation 
If egg production is uniform over sites, then self recruitment is defined as the diagonal elements of the connectivity matrix divided by the sum of the corresponding row of the connectivity matrix. If not, then the elements of the dispersal matrix must be weighted by the number of eggs produced.
selfRecruitment(conn.mat, eggs = NULL)
conn.mat 
A square connectivity matrix. 
eggs 
A vector of egg production values for each site. Defaults to

David M. Kaplan dmkaplan2000@gmail.com
library(ConnMatTools)
data(chile.loco)
sr < selfRecruitment(chile.loco)
lr < localRetention(chile.loco)
rlr < relativeLocalRetention(chile.loco)