Description Usage Arguments Value Examples

View source: R/kernel_functions.R

Function implementing the cosine kernel.

1 | ```
cosine_kernel(d, bw)
``` |

`d` |
The distance from the event |

`bw` |
The bandwidth used for the kernel |

The estimated density

1 | ```
#This is an internal function, no example provided
``` |

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.