mixtureOfUniforms: Get a mixture of uniform (AKA tophat) distributions of size...

View source: R/RVCompare.R

mixtureOfUniformsR Documentation

Get a mixture of uniform (AKA tophat) distributions of size 'kernelSize' centered in the points 'kernelPositions'.

Description

Get a mixture of uniform (AKA tophat) distributions of size 'kernelSize' centered in the points 'kernelPositions'.

Usage

mixtureOfUniforms(kernelPositions, kernelSize)

Arguments

kernelPositions

an array of real values that decribe the positions of the kernels.

kernelSize

The size of the uniform kernel: a positive float.

Value

a single parameter callable function that computes the probability density of the mixture in any point.


RVCompare documentation built on Aug. 21, 2023, 5:13 p.m.