Description Usage Arguments Value Examples
Either classical or modified algorithms. The modified algorithm is the more accurate.
1 2 3 | gs_orth_modified(X)
gs_orth(X)
|
X |
a numerical matrix with ncol(X) <= nrow(X) |
A list with two components, Q, R, as usually defined.
1 2 3 4 5 | set.seed(1234)
X <- matrix(rnorm(10*7), 10)
gs_orth_modified(X)
all.equal(gs_orth(X), gs_orth_modified(X))
all.equal(gs_orth_modified(X), givens_orth(X))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.