Rdocumentation
powered by
Learn R Programming
LocFDRPois (version 1.0.0)
MixtureDensity: Compute full mixture density for data, assuming exponential family model
Description
Compute full mixture density for data, assuming exponential family model
Usage
MixtureDensity(data, df, knots)
Arguments
data
The raw data (before histogramming) to estimate a mixture density for.
df
The number of degrees of freedom to use in the natural spline in fitting the mixture density.
knots
The positions of the knots to use in the natural spline fit.
Value
f\_hat The estimated mixture density function (can be called on numeric vectors.)