Description Usage Arguments References Examples

Smooth a numeric vector using a Gaussian window

1 | ```
smoothGauss(x, alpha, window = 0.1)
``` |

`x` |
numeric vector of values to smooth. |

`alpha` |
numeric value controlling the size of the gaussian smoothing window. Proportional to the standard deviation of the Gaussian smoothing kernel where sd=(N-1)/(2*alpha) with N being the length of the input vector. |

`window` |
a fraction between 0 and 1 representing the proportion of the input vector to include in the moving window. |

Adapted from `smth.gaussian`

1 | ```
smoothGauss(runif(200),alpha=5)
``` |

rcarbon documentation built on Oct. 1, 2018, 5:03 p.m.

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.