mixtureOfUniforms {RVCompare} | R Documentation |
Get a mixture of uniform (AKA tophat) distributions of size 'kernelSize' centered in the points 'kernelPositions'.
mixtureOfUniforms(kernelPositions, kernelSize)
kernelPositions |
an array of real values that decribe the positions of the kernels. |
kernelSize |
The size of the uniform kernel: a positive float. |
a single parameter callable function that computes the probability density of the mixture in any point.