View source: R/stationary_distribution.R
| stationary_distribution | R Documentation |
This function computes the stationary distribution corresponding to a transition probability matrix.
stationary_distribution(tpm, soft_fail = FALSE)
tpm |
[ |
soft_fail |
[ |
A numeric vector.
Other matrix helpers:
check_correlation_matrix(),
check_covariance_matrix(),
check_transition_probability_matrix(),
cov_to_chol(),
diff_cov(),
insert_matrix_column(),
matrix_diagonal_indices(),
matrix_indices(),
sample_correlation_matrix(),
sample_covariance_matrix(),
sample_transition_probability_matrix()
tpm <- matrix(0.05, nrow = 3, ncol = 3)
diag(tpm) <- 0.9
stationary_distribution(tpm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.