Description Usage Arguments Details Value Author(s) Examples

Creates the *m+1* by *m+1* projection matrix defined by *P = D(D'D)^{-1}D'* where *D* is the design matrix associated to a polynomial regression of degree nu + 1.

1 | ```
Pm(m = 2, nu = 0)
``` |

`nu` |
the degree of the polinomial fit. |

`m` |
a positive integer satisfying |

To perform matrix inversion, the code makes use of the routine DGETRI in LAPACK, which applies an LU decomposition approach to obtain the inverse matrix. See the LAPACK documentation available at http://www.netlib.org/lapack.

an *m+1* by *m+1* matrix.

Taiane Schaedler Prass

1 2 3 4 5 6 7 8 9 10 11 12 13 14 |

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.