Description Usage Arguments Value Author(s) Examples
View source: R/check_stochastic.R
Check if a matrix is stochastic
1 |
X |
matrix |
Bool: TRUE if the matrix is stochastic, FALSE otherwise
Luz Pascal
1 2 3 4 5 | ## Not run:
mat = matrix(c(1,0,0,1), ncol = 2)
check_stochastic(mat)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.