View source: R/tests-factoranalysis.R
random_minors | R Documentation |
Randomly samples indices of minors without replacement.
random_minors(m, factors, nr)
m |
Integer, number of observed nodes (and dimension of (m x m)-matrix). |
factors |
Integer, number of hidden factors. |
nr |
Integer, number of ( |
Matrix with nr
rows and 2*factors+2
columns. Each row corresponds to one minor.
The first factors+1
columns correspond to the row-indices of the minor,
the last factors+1
columns correspond to the column-indices of the minor.
random_minors(10,2,100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.