R/statdistr.R

Defines functions statdistr

Documented in statdistr

statdistr <-
function(tmat)
{
one<-round(matrix(1,nrow(tmat),ncol(tmat)))

I<-diag(nrow(tmat))
d<-rep(1,nrow(tmat))

t(d)%*%solve(I-tmat+one)
}

Try the DTMCPack package in your browser

Any scripts or data that you put into this service are public.

DTMCPack documentation built on April 11, 2022, 9:05 a.m.