| filter_gaussian | R Documentation | 
filter_gaussian computes the Gaussian density filter.
filter_gaussian(dist, sigma = 1, ...)
| dist | The distance matrix. | 
| sigma | A scalar controling the sensitivity of the gaussian kernel. | 
| ... | Further arguments. | 
The Gaussian density filter is defined as f(x_i;σ) = C∑_{j=1}^n exp(-\frac{\|x_i-x_j\|^2}{2σ^2}), where C is the normalizing constant and σ is the scalar controling the sensitivity of the gaussian kernel.
A matrix object of filter values.
tp_data = chicken_generator(1) tp_dist = dist(tp_data[,-1]) filter_gaussian(dist=tp_dist, sigma=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.