powered by
Smoothing data using Gaussian kernel
smth.gau(x, gamma)
vector of smoothed values
numeric vector of values to smooth
bandwidth of Gaussian kernel
smth.gau(x=rnorm(1000), gamma=20)
Run the code above in your browser using DataLab