project-onto | R Documentation |
Project a vector onto the column space of a matrix or the orthogonal complement of the column space of a matrix; the null space of A transpose.
project_onto(x, A)
project_onto_perp(x, A)
x |
a vector |
A |
a matrix |
...
base::qr.fitted
A <- diag(5)[,1:2]
x <- 1:5
project_onto(x, A)
x %>% project_onto(A)
project_onto_perp(x, A)
x %>% project_onto_perp(A)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.