mixtureOfUniforms {RVCompare} | R 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.
[Package RVCompare version 0.1.8 Index]