Description Usage Arguments Details Value Author(s) See Also

Calculates the decomposition of the kernel smoothing matrix in two part: a
diagonal matrix *D* and a symmetric matrix *A*.
This function is not intended to be used directly.

1 | ```
calcA(X,bx,kernelx="g")
``` |

`X` |
The matrix of explanatory variables, size |

`bx` |
The vector of bandwidth of length |

`kernelx` |
Character string which allows to choose between gaussian kernel
( |

see the reference for detailed explanation of *A* and
*D* and the meaning of coefficients.

Returns a list containing two matrices: the symmetric matrix *A*
in component `A`

) and the square root of the diagonal matrix
*D* in the component `Ddemi`

and the trace of the smoother
in the component `df`

.

Pierre-Andre Cornillon, Nicolas Hengartner and Eric Matzner-Lober.

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.