Нажмите на ссылку R script: Kernel density estimation, чтобы открыть ресурс.