View source: R/sample_transition_probability_matrix.R
sample_transition_probability_matrix | R Documentation |
This function returns a random, squared matrix of dimension dim
that fulfills the properties of a transition probability matrix.
sample_transition_probability_matrix(dim, state_persistent = TRUE)
dim |
[ |
state_persistent |
[ |
A transition probability matrix
.
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()
,
stationary_distribution()
sample_transition_probability_matrix(dim = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.