col.sto {Biodem}R Documentation

Turns a Migration Matrix into a Column Stochastic Matrix

Description

Calculates the column stochastic matrix starting from the raw migration matrix x. For each column, it divides each term by the column sum. Then it returns the thus "normalized by column" matrix, ready to be used in the Malecot migration model.

Usage

col.sto(x)

Arguments

x

the raw data migration matrix

Details

The Malecot model uses a transformation of the raw migration data; in the "Malecot" library the use of a column stochastic matrix follows Imaizumi 1970 and Swedlund 1984.

Value

col.sto is used on a an object of class "matrix" and returns an object of class "matrix".

Author(s)

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

References

Imaizumi, Y., N. E. Morton and D. E. Harris. 1970. Isolation by distance in artificial populations. Genetics 66: 569-582.

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

Examples

data(raw.mig)
new.mig.mat<-col.sto(raw.mig)
new.mig.mat


[Package Biodem version 0.5 Index]