Turns a Migration Matrix into a Column Stochastic Matrix

Share:

Description

Calculates the column stochastic matrix starting from the raw migration matrix. 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

1

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".

Note

...

Author(s)

Federico C. F. Calboli federico.calboli@helsinki.fi

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

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