apply_kernel_histogram: apply_kernel_histogram

View source: R/apply_kernel_histogram.R

apply_kernel_histogramR Documentation

apply_kernel_histogram

Description

Blur given histogram using square or gauss filtering.

Usage

apply_kernel_histogram(
  fhistogram,
  filter = "square",
  kernel_pixels = 2,
  sigma = 10
)

Arguments

fhistogram

Matrix or array R datatype interpreted as histogram.

filter

Either square(matrix of ones) or gaussian (symmetric).

kernel_pixels

Used for determining size of kernel, (size = 2*kernel_pixels + 1), defaults to 2.

sigma

Parameter for gaussian filtering, defaults to 10.

Value

Float blurred histogram with the result.


Teri934/scattermore2 documentation built on April 9, 2022, 12:44 a.m.