shorrock | R Documentation |
Compute the Shorrock's mobility measure
shorrock(x)
x |
Markov probability transition matrix. |
a vector
data(us48)
data <- as.data.frame(us48)
pci <- data[,10:90]
rpci <- pci/matrix(1,dim(pci))%*%colMeans(pci)
m <- mkv(rpci)
shorrock(m[[1]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.