Description Usage Arguments Details Value

This function assumes *X* has full column rank, and
returns the projection matrix onto the column space of *X*.

1 | ```
proj(X)
``` |

`X, ` |
a matrix with full column rank, can be an empty matrix with |

The projection matrix onto the column space of *X* can be written as

*X(X^TX)^{-1}X^T.*

When *X* is an empty matrix, then this function returns the zero matrix.

This function returns the desired square matrix with dimension `nrow(X)`

.

shuxiaoc/outference documentation built on Dec. 5, 2017, 3:48 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.