plotdens - Draw a nonparametric density estimate
Draw a nonparametric density estimate. A density estimate is plotted using a kernel density estimate. A longer form plotdens(X,h,P,K) may be used where
1: Gaussian (the default)
2: Epanechnikov
3: Biweight
4: Triangular
Below the density estimate a jittered plot of the observations is shown.