View source: R/ortho_randproj.R
ortho.randproj | R Documentation |
Generate random matrices of given dimension which have full row and are orthogonal
ortho.randproj(nrow, ncol, method = "norm", seed = NULL)
nrow |
Number of rows in the random matrix to be generated |
ncol |
Number of colums |
method |
The method to be used for generating elements in the matrix. If |
seed |
Set the seed to replicate the random matrix generated. Default is |
An orthogonal matrix of with nrow
rows and ncol
columns.
a = ortho.randproj(nrow = 5, ncol = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.