Description Usage Arguments Value Examples
Create a Random Matrix: custom
1 | RandMatCustom(p, d, nnzSample, nnzProb, ...)
|
p |
the number of dimensions. |
d |
the number of desired columns in the projection matrix. |
nnzSample |
a vector specifying the number of non-zeros to
sample at each |
nnzProb |
a vector specifying probabilities in one-to-one correspondance
with |
... |
used to handle superfluous arguments passed in using paramList. |
A random matrix to use in running RerF
.
1 2 3 4 5 6 7 | p <- 28
d <- 8
nnzSample <- 1:8
nnzProb <- 1 / 36 * 1:8
paramList <- list(p = p, d = d, nnzSample, nnzProb)
set.seed(8)
(a <- do.call(RandMatCustom, paramList))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.