mal.cond: Calculates a Conditional Kinship matrix

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/mal.cond.R

Description

The function “mal.cond” calculates a R conditional kinship matrix starting from a kinship matrix obtained by the applicatio of the Malecot migration model on a colum stochastic migration matrix.

Usage

1
mal.cond(PHI, N)

Arguments

PHI

PHI is a square and symmetrical kinship matrix, possibly the output of the function Phi

N

N is the effectiove population vector

Details

Much more useful than the Phi matrix, the conditional kinship R matrix is the basis for further analysis by means of Mantel tests, Procrustes rotations and cluster analysis.

Value

Returns a square symmetrical matrix.

Note

...

Author(s)

Federico C. F. Calboli f.calboli@gmail.com

References

Jorde, L. B. 1982. The genetic structure of the Utah mormons: migration analysis. Human Biology 54(3): 583-597.

See Also

mal.phi for the calculation of "absolute" kinship values

Examples

1
2
3
4
5
6
# using Swedlund data again...
data(S); data(P); data(N)
x<-mal.eq(S,P,N)
phi<-mal.phi(S,P,N,x)
cond.mat<-mal.cond(phi,N)
cond.mat

Biodem documentation built on Jan. 5, 2021, 5:08 p.m.

Related to mal.cond in Biodem...