Function to Average Orthogonal Projection Matrices

Function to compute an orthogonal projection matrix based on an arbitrary matrix.

1 | ```
B2P(x)
``` |

`x` |
A matrix with p rows and k columns. |

The orthogonal projection matrix *P* corresponding to matrix *x* is defined as *P=x (x^T x)^-1 x^T*.

The resulting orthogonal projection matrix.

Klaus Nordhausen

1 2 3 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

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.