We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A simple example of the conversion of a generator matrix with an absorbing state to the corresponding transition matrix of the embedded chain:
library(markovchain) Q <- matrix(c(-1, 1, 0, 0), byrow=TRUE, nrow=2) generatorToTransitionMatrix(Q) #> [,1] [,2] #> [1,] 0 1 #> [2,] NaN 0
For absorbing states, NaN should be 0s, and 0s should be 1s. So the second row should be 0 1.
NaN
0 1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
A simple example of the conversion of a generator matrix with an absorbing state to the corresponding transition matrix of the embedded chain:
For absorbing states,
NaN
should be 0s, and 0s should be 1s. So the second row should be0 1
.The text was updated successfully, but these errors were encountered: