Description Usage Arguments Value Examples

Computes moments of a kernel over *X=[0, 1]* (boundary case), or
*X=[-1, 1]* (interior case),

1 | ```
KernMoment(K, moment = 0, boundary = TRUE, type = "raw")
``` |

`K` |
kernel function. |

`moment` |
order |

`boundary` |
Logical scalar, specifying whether we are at a boundary. |

`type` |
Type of moment. "raw" computes |

Integral value (a scalar).

1 2 3 | ```
KernMoment(function(u) u<1, moment = 3, boundary = FALSE)
KernMoment(EqKern(kernel = "triangular", order = 2),
moment = 3)
``` |

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.