Hi, I wonder if the function "density" outputs the gaussian mixture formula that is estimated from the input data, assuming a gaussian model is used at each data point ? I want to take the derivative of the finally estimated gaussian mixture formula for further analysis. Thanks in advance for any help that you can offer me! Hui