Description Usage Arguments Value Examples
View source: R/random-matrix.R
Create matrix of random values with dimensions copied from an existing matrix
1 | runif_same_dims(mat, min = 0, max = 1)
|
mat |
matrix |
min |
lower limit of the distribution. Must be finite. |
max |
upper limit of the distribution. Must be finite. |
a matrix
1 2 | mat <- matrix(0, 3, 3)
runif_same_dims(mat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.