gaussfun: Simple Gaussian kernel function

Description Usage Arguments Value Examples

View source: R/gaussfun.R

Description

Simple Gaussian kernel function

Usage

1
gaussfun(dt, h = 0.25)

Arguments

dt

time difference

h

kernel width

Value

Numeric

Examples

1
2
3
4
5
#Compare the weights given in nexcf to observations at a time lag of 0.1 and 1.
nest:::gaussfun(0.1,h=0.25)
nest:::gaussfun(1,h=0.25)
# If the sampling of two time series is very skewed, it may pay off to increase the kernel width h.
# h is set to 0.25 (lag units) by default, and increasing it moderately, e.g. to 0.5 is acceptable.

krehfeld/nest documentation built on May 28, 2019, 12:33 a.m.