Calculates a kernel density estimate of the data along with confidence bounds. It also computes a normal density and confidence bounds for the normal density with the same mean and variance as the observed data.
normBand(x, ...)A named vector of scalar measures of fit
A vector of values whose density is to be calculated
Other arguments to be passed down to sm.density.
Dave Armstrong, A.W. Bowman and A. Azzalini
The function is largely cribbed from the sm package by Bowman and Azzalini
A.W> Bowman and A. Azzalini, R package sm: nonparametric smoothing methods (verstion 5.6).